This project has retired. For details please refer to its Attic page.

org.apache.abdera.i18n.text
Class Punycode

java.lang.Object
  extended by org.apache.abdera.i18n.text.Punycode

public final class Punycode
extends Object

Implementation of the Punycode encoding scheme used by IDNA


Method Summary
static String decode(char[] chars, boolean[] case_flags)
           
static String decode(String s)
           
static String encode(char[] chars, boolean[] case_flags)
           
static String encode(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

encode

public static String encode(char[] chars,
                            boolean[] case_flags)
                     throws IOException
Throws:
IOException

encode

public static String encode(String s)

decode

public static String decode(String s)

decode

public static String decode(char[] chars,
                            boolean[] case_flags)
                     throws IOException
Throws:
IOException


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.