public class JavaCharacterSet extends Object implements CharacterSet
CharsetEncoder.canEncode(char), and then caches
this information locally.| Modifier and Type | Field and Description |
|---|---|
static HashMap<Charset,JavaCharacterSet> |
map |
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalName()
Get the preferred Java name of the character set.
|
boolean |
inCharset(int c)
Determine if a character is present in the character set
|
static JavaCharacterSet |
makeCharSet(Charset charset) |
public static HashMap<Charset,JavaCharacterSet> map
public static JavaCharacterSet makeCharSet(Charset charset)
public final boolean inCharset(int c)
CharacterSetinCharset in interface CharacterSetpublic String getCanonicalName()
CharacterSetgetCanonicalName in interface CharacterSetCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.