public class UnicodeProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UnicodeProperties.UnsupportedUnicodeVersionException |
| Modifier and Type | Field and Description |
|---|---|
static String |
UNICODE_VERSIONS |
| Constructor and Description |
|---|
UnicodeProperties()
Unpacks the Unicode data corresponding to the default Unicode version:
"".
|
UnicodeProperties(String version)
Unpacks the Unicode data corresponding to the given version.
|
| Modifier and Type | Method and Description |
|---|---|
IntCharSet |
getCaselessMatches(int c)
Returns a set of character intervals representing all characters
that are case-insensitively equivalent to the given character,
including the given character itself.
|
IntCharSet |
getIntCharSet(String propertyValue)
Returns the character interval set associated with the given property value
for the selected Unicode version.
|
int |
getMaximumCodePoint()
Returns the maximum code point for the selected Unicode version.
|
Set<String> |
getPropertyValues()
Returns the set of all properties, property values, and their aliases
supported by the specified Unicode version.
|
public static final String UNICODE_VERSIONS
public UnicodeProperties()
throws UnicodeProperties.UnsupportedUnicodeVersionException
UnicodeProperties.UnsupportedUnicodeVersionException - if the default version is not
supported.public UnicodeProperties(String version) throws UnicodeProperties.UnsupportedUnicodeVersionException
version - The Unicode version for which to unpack dataUnicodeProperties.UnsupportedUnicodeVersionException - if the given version is not
supported.public int getMaximumCodePoint()
public IntCharSet getIntCharSet(String propertyValue)
propertyValue - The Unicode property or property value (or alias for
one of these) for which to return the corresponding character intervals.public Set<String> getPropertyValues()
public IntCharSet getCaselessMatches(int c)
c - The character for which to return case-insensitive equivalents.Copyright © 2015. All rights reserved.