org.apache.jena.iri.impl
Class IDNP

java.lang.Object
  extended by org.apache.jena.iri.impl.IDNP

public class IDNP
extends Object

IDNP: IDN Patched A wrapper around java.net.IDN to avoid a bug when checking result. It looks like the IDN is apply checks before fully converting, so this defers a similar check until the end.

Author:
Damian Steer

Constructor Summary
IDNP()
           
 
Method Summary
static String toASCII(String host, int flags)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDNP

public IDNP()
Method Detail

toASCII

public static String toASCII(String host,
                             int flags)


Licenced under the Apache License, Version 2.0