Package com.ibm.icu.text
Class IDNA.Info
- java.lang.Object
-
- com.ibm.icu.text.IDNA.Info
-
-
Constructor Summary
Constructors Constructor Description Info()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
hasErrors
public boolean hasErrors()
Were there IDNA processing errors?- Returns:
- true if there were processing errors
-
getErrors
public Set<IDNA.Error> getErrors()
Returns a set indicating IDNA processing errors.- Returns:
- set of processing errors (modifiable, and not null)
-
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).- With nontransitional processing, such characters are copied to the destination string.
- With transitional processing, such characters are mapped (sharp s/sigma) or removed (joiner/nonjoiner).
- Returns:
- true if transitional and nontransitional processing produce different results
-
-