public class JavaCharacterSet extends java.lang.Object implements CharacterSet
CharsetEncoder.canEncode(char)
, and then caches
this information locally.Modifier and Type | Field and Description |
---|---|
static java.util.HashMap<java.nio.charset.Charset,JavaCharacterSet> |
map |
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.nio.charset.Charset charset) |
public static java.util.HashMap<java.nio.charset.Charset,JavaCharacterSet> map
public static JavaCharacterSet makeCharSet(java.nio.charset.Charset charset)
public final boolean inCharset(int c)
CharacterSet
inCharset
in interface CharacterSet
public java.lang.String getCanonicalName()
CharacterSet
getCanonicalName
in interface CharacterSet
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.