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)
CharacterSet
inCharset
in interface CharacterSet
public String getCanonicalName()
CharacterSet
getCanonicalName
in interface CharacterSet
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.