Overview
Class
Use
Packages
Classes & Interfaces
Constant Field Values
Serialized Form
Search
Interface IdnaTransformator
minidns
org.minidns.idna
IdnaTransformator
Search for
Search page
All Known Implementing Classes:
DefaultIdnaTransformator
public interface
IdnaTransformator
Converts domain names between Unicode and ASCII Compatible Encoding.
Method Summary
All Methods
Modifier and Type
Method
Description
String
toASCII
(
String
input)
Convert a Unicode domain name to ASCII Compatible Encoding.
String
toUnicode
(
String
input)
Convert an ASCII Compatible Encoding to Unicode.
Method Details
toASCII
String
toASCII
(
String
input)
Convert a Unicode domain name to ASCII Compatible Encoding.
Parameters:
input
- the Unicode domain name
Returns:
the ACE-encoded domain name
toUnicode
String
toUnicode
(
String
input)
Convert an ASCII Compatible Encoding to Unicode.
Parameters:
input
- the ACE-encoded domain name
Returns:
the Unicode domain name