public
static
final
class
IDNA.Info
extends Object
java.lang.Object | |
↳ | android.icu.text.IDNA.Info |
Output container for IDNA processing errors. The Info class is not suitable for subclassing.
Public constructors | |
---|---|
IDNA.Info()
Constructor. |
Public methods | |
---|---|
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. |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Set<IDNA.Error> getErrors ()
Returns a set indicating IDNA processing errors.
Returns | |
---|---|
Set<IDNA.Error> |
set of processing errors (modifiable, and not null) |
boolean hasErrors ()
Were there IDNA processing errors?
Returns | |
---|---|
boolean |
true if there were processing errors |
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 | |
---|---|
boolean |
true if transitional and nontransitional processing produce different results |