public class IdentifierInfo extends Object
Modifier and Type | Field and Description |
---|---|
static Comparator<BitSet> |
BITSET_COMPARATOR
Deprecated.
This API is ICU internal only.
|
Constructor and Description |
---|
IdentifierInfo()
Deprecated.
This API is ICU internal only.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
contains(BitSet container,
BitSet containee)
Deprecated.
This API is ICU internal only.
|
static String |
displayAlternates(Set<BitSet> alternates)
Deprecated.
This API is ICU internal only.
|
static String |
displayScripts(BitSet scripts)
Deprecated.
This API is ICU internal only.
|
Set<BitSet> |
getAlternates()
Deprecated.
This API is ICU internal only.
|
BitSet |
getCommonAmongAlternates()
Deprecated.
This API is ICU internal only.
|
String |
getIdentifier()
Deprecated.
This API is ICU internal only.
|
UnicodeSet |
getIdentifierProfile()
Deprecated.
This API is ICU internal only.
|
UnicodeSet |
getNumerics()
Deprecated.
This API is ICU internal only.
|
SpoofChecker.RestrictionLevel |
getRestrictionLevel()
Deprecated.
This API is ICU internal only.
|
int |
getScriptCount()
Deprecated.
This API is ICU internal only.
|
BitSet |
getScripts()
Deprecated.
This API is ICU internal only.
|
static Set<BitSet> |
parseAlternates(String scriptsSetString)
Deprecated.
This API is ICU internal only.
|
static BitSet |
parseScripts(String scriptsString)
Deprecated.
This API is ICU internal only.
|
static BitSet |
set(BitSet bitset,
int... values)
Deprecated.
This API is ICU internal only.
|
IdentifierInfo |
setIdentifier(String identifier)
Deprecated.
This API is ICU internal only.
|
IdentifierInfo |
setIdentifierProfile(UnicodeSet identifierProfile)
Deprecated.
This API is ICU internal only.
|
String |
toString()
Deprecated.
This API is ICU internal only.
|
public static final Comparator<BitSet> BITSET_COMPARATOR
public IdentifierInfo()
setIdentifier(String)
, etc.
setIdentifierProfile(UnicodeSet)
public IdentifierInfo setIdentifierProfile(UnicodeSet identifierProfile)
identifierProfile
- the characters that are to be allowed in the identifierpublic UnicodeSet getIdentifierProfile()
public IdentifierInfo setIdentifier(String identifier)
identifier
- the identifier to analyzepublic String getIdentifier()
public BitSet getScripts()
public Set<BitSet> getAlternates()
public UnicodeSet getNumerics()
public BitSet getCommonAmongAlternates()
public SpoofChecker.RestrictionLevel getRestrictionLevel()
public int getScriptCount()
public String toString()
public static String displayAlternates(Set<BitSet> alternates)
alternates
- a set of BitSets of script values.public static String displayScripts(BitSet scripts)
scripts
- a BitSet of UScript valuespublic static BitSet parseScripts(String scriptsString)
scriptsString
- the string to be parsedpublic static Set<BitSet> parseAlternates(String scriptsSetString)
scriptsSetString
- a list of alternates, separated by ;public static final boolean contains(BitSet container, BitSet containee)
container
- possible container to be testedcontainee
- possible containee to be testedpublic static final BitSet set(BitSet bitset, int... values)
bitset
- bitset to be affectedvalues
- values to be set in the bitsetCopyright (c) 2013 IBM Corporation and others.