Package uk.num.punycode
Class Punycode
java.lang.Object
uk.num.punycode.Punycode
An incomplete translation of https://github.com/mathiasbynens/punycode.js
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Punycode
public Punycode()
-
-
Method Details
-
decode
Decode a punycoded input string. There should be no `xn--` prefix- Parameters:
input- the input String- Returns:
- String
-
encode
Encode a Unicode String to a punycoded String.- Parameters:
input- the input String- Returns:
- a String
-