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
    toASCII(String input)
    Convert a Unicode domain name to ASCII Compatible Encoding.
    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