public final class Language
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static Language |
THE_INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkValid(java.lang.String literal)
Verify the validity of a given language tag.
|
public static final Language THE_INSTANCE
public void checkValid(java.lang.String literal)
literal - the language tag to verify.InvalidParameterException - if the tag is invalid or if there is a warning for it.
If the issue is just a warning, the error message starts with "Warning: ".