See: Description
Interface | Description |
---|---|
IDNA |
The jp.co.jprs.idnkit.IDNA interface defines manipulations of
internationalized domain names using idnkit.
|
Class | Description |
---|---|
IDNA2008 |
An instance of IDNA2008 class represents IDNA2008 version of IDNA
conversion context.
|
IDNAFactory |
IDNAFactory creates an instance of IDNA conversion context.
|
Exception | Description |
---|---|
IDNException |
Exception for the idnkit package.
|
The jp.co.jprs.idnkit package supports various manipulations of internationalized domain names using idnkit.
The package provides easy-to-use, high-level interface to help applications operate internationalized domain names. They are designed according to IDNA framework where each application must encode internationalized domain names before passing them to the resolver. Currently, the package supports idnkit version 2, which supports IDNA2008.
To use this package, idnkit binary (at least libidnkitlite shared library) and JNA (Java Native Access) are required. At a run time, the system property 'jna.encoding' must be set to 'UTF-8' and 'jna.library.path' must be set to the directory where the libidnkitlite shared library resides.
Please note that the package supports UTF-8 only. Local encodings (e.g. ISO8859-1) are not supported. That is to say, domain names passed to methods in this package must be written in UTF-8 and domain names returned from the methods are always UTF-8.