/** * Equivalent to {@code toUnicode(input, 0)}. * * @param input the ACE name * @return the Unicode name */ public static String toUnicode(String input) { return NativeIDN.toUnicode(input, 0); } }
/** * Translates a string from ASCII Compatible Encoding (ACE) to Unicode * according to the algorithm defined in <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. * * <p>Unlike {@code toASCII}, this transformation cannot fail. * * <p>This method can handle either an individual label or an entire domain name. * In the latter case, the separators are: U+002E (full stop), U+3002 (ideographic full stop), * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). * * @param input the ACE name * @return the Unicode name * @param flags 0, {@code ALLOW_UNASSIGNED}, {@code USE_STD3_ASCII_RULES}, * or {@code ALLOW_UNASSIGNED | USE_STD3_ASCII_RULES} */ public static String toUnicode(String input, int flags) { return NativeIDN.toUnicode(input, flags); }
/** * Equivalent to {@code toUnicode(input, 0)}. * * @param input the ACE name * @return the Unicode name */ public static String toUnicode(String input) { return NativeIDN.toUnicode(input, 0); } }
/** * Equivalent to {@code toUnicode(input, 0)}. * * @param input the ACE name * @return the Unicode name */ public static String toUnicode(String input) { return NativeIDN.toUnicode(input, 0); } }
/** * Equivalent to {@code toUnicode(input, 0)}. * * @param input the ACE name * @return the Unicode name */ public static String toUnicode(String input) { return NativeIDN.toUnicode(input, 0); } }
/** * Equivalent to {@code toUnicode(input, 0)}. * * @param input the ACE name * @return the Unicode name */ public static String toUnicode(String input) { return NativeIDN.toUnicode(input, 0); } }
/** * Equivalent to {@code toUnicode(input, 0)}. * * @param input the ACE name * @return the Unicode name */ public static String toUnicode(String input) { return NativeIDN.toUnicode(input, 0); } }
/** * Equivalent to {@code toUnicode(input, 0)}. * * @param input the ACE name * @return the Unicode name */ public static String toUnicode(String input) { return NativeIDN.toUnicode(input, 0); } }
/** * Translates a string from ASCII Compatible Encoding (ACE) to Unicode * according to the algorithm defined in <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. * * <p>Unlike {@code toASCII}, this transformation cannot fail. * * <p>This method can handle either an individual label or an entire domain name. * In the latter case, the separators are: U+002E (full stop), U+3002 (ideographic full stop), * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). * * @param input the ACE name * @return the Unicode name * @param flags 0, {@code ALLOW_UNASSIGNED}, {@code USE_STD3_ASCII_RULES}, * or {@code ALLOW_UNASSIGNED | USE_STD3_ASCII_RULES} */ public static String toUnicode(String input, int flags) { return NativeIDN.toUnicode(input, flags); }
/** * Translates a string from ASCII Compatible Encoding (ACE) to Unicode * according to the algorithm defined in <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. * * <p>Unlike {@code toASCII}, this transformation cannot fail. * * <p>This method can handle either an individual label or an entire domain name. * In the latter case, the separators are: U+002E (full stop), U+3002 (ideographic full stop), * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). * * @param input the ACE name * @return the Unicode name * @param flags 0, {@code ALLOW_UNASSIGNED}, {@code USE_STD3_ASCII_RULES}, * or {@code ALLOW_UNASSIGNED | USE_STD3_ASCII_RULES} */ public static String toUnicode(String input, int flags) { return NativeIDN.toUnicode(input, flags); }
/** * Translates a string from ASCII Compatible Encoding (ACE) to Unicode * according to the algorithm defined in <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. * * <p>Unlike {@code toASCII}, this transformation cannot fail. * * <p>This method can handle either an individual label or an entire domain name. * In the latter case, the separators are: U+002E (full stop), U+3002 (ideographic full stop), * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). * * @param input the ACE name * @return the Unicode name * @param flags 0, {@code ALLOW_UNASSIGNED}, {@code USE_STD3_ASCII_RULES}, * or {@code ALLOW_UNASSIGNED | USE_STD3_ASCII_RULES} */ public static String toUnicode(String input, int flags) { return NativeIDN.toUnicode(input, flags); }
/** * Translates a string from ASCII Compatible Encoding (ACE) to Unicode * according to the algorithm defined in <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. * * <p>Unlike {@code toASCII}, this transformation cannot fail. * * <p>This method can handle either an individual label or an entire domain name. * In the latter case, the separators are: U+002E (full stop), U+3002 (ideographic full stop), * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). * * @param input the ACE name * @return the Unicode name * @param flags 0, {@code ALLOW_UNASSIGNED}, {@code USE_STD3_ASCII_RULES}, * or {@code ALLOW_UNASSIGNED | USE_STD3_ASCII_RULES} */ public static String toUnicode(String input, int flags) { return NativeIDN.toUnicode(input, flags); }
/** * Translates a string from ASCII Compatible Encoding (ACE) to Unicode * according to the algorithm defined in <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. * * <p>Unlike {@code toASCII}, this transformation cannot fail. * * <p>This method can handle either an individual label or an entire domain name. * In the latter case, the separators are: U+002E (full stop), U+3002 (ideographic full stop), * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). * * @param input the ACE name * @return the Unicode name * @param flags 0, {@code ALLOW_UNASSIGNED}, {@code USE_STD3_ASCII_RULES}, * or {@code ALLOW_UNASSIGNED | USE_STD3_ASCII_RULES} */ public static String toUnicode(String input, int flags) { return NativeIDN.toUnicode(input, flags); }
/** * Translates a string from ASCII Compatible Encoding (ACE) to Unicode * according to the algorithm defined in <a href="http://www.ietf.org/rfc/rfc3490.txt">RFC 3490</a>. * * <p>Unlike {@code toASCII}, this transformation cannot fail. * * <p>This method can handle either an individual label or an entire domain name. * In the latter case, the separators are: U+002E (full stop), U+3002 (ideographic full stop), * U+FF0E (fullwidth full stop), and U+FF61 (halfwidth ideographic full stop). * * @param input the ACE name * @return the Unicode name * @param flags 0, {@code ALLOW_UNASSIGNED}, {@code USE_STD3_ASCII_RULES}, * or {@code ALLOW_UNASSIGNED | USE_STD3_ASCII_RULES} */ public static String toUnicode(String input, int flags) { return NativeIDN.toUnicode(input, flags); }