com.ibm.icu.text
Class IDNA.Info

java.lang.Object
  extended by com.ibm.icu.text.IDNA.Info
Enclosing class:
IDNA

public static final class IDNA.Info
extends Object

Output container for IDNA processing errors. The Info class is not suitable for subclassing.

Status:
Draft ICU 4.6.

Constructor Summary
IDNA.Info()
          Constructor.
 
Method Summary
 Set<IDNA.Error> getErrors()
          Returns a set indicating IDNA processing errors.
 boolean hasErrors()
          Were there IDNA processing errors?
 boolean isTransitionalDifferent()
          Returns true if transitional and nontransitional processing produce different results.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDNA.Info

public IDNA.Info()
Constructor.

Status:
Draft ICU 4.6.
Method Detail

hasErrors

public boolean hasErrors()
Were there IDNA processing errors?

Returns:
true if there were processing errors
Status:
Draft ICU 4.6.

getErrors

public Set<IDNA.Error> getErrors()
Returns a set indicating IDNA processing errors.

Returns:
set of processing errors (modifiable, and not null)
Status:
Draft ICU 4.6.

isTransitionalDifferent

public boolean isTransitionalDifferent()
Returns true if transitional and nontransitional processing produce different results. This is the case when the input label or domain name contains one or more deviation characters outside a Punycode label (see UTS #46).

Returns:
true if transitional and nontransitional processing produce different results
Status:
Draft ICU 4.6.


Copyright (c) 2010 IBM Corporation and others.