Deprecated
As of JDK 9, Xerces 2.9.0, Xerces DOM L3 Serializer implementation
is replaced by that of Xalan. Main class
com. is replaced
by com..
| Modifier and Type | Field and Description |
|---|---|
| pack-priv CharsetEncoder | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv String | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Writer | Returns: A suitable writerReturns a writer for this encoding based on an output stream. |
| public boolean | isPrintable(char
a code point (0-0x10ffff) ch)Checks whether the specified character is printable or not in this encoding. |
| private boolean | isPrintable0(char
a code point (0-0x10ffff) ch)Checks whether the specified character is printable or not in this encoding. |
| public static void |
| fCharsetEncoder | back to summary |
|---|---|
| pack-priv CharsetEncoder fCharsetEncoder | |
| fHaveTriedCharsetEncoder | back to summary |
|---|---|
| pack-priv boolean fHaveTriedCharsetEncoder | |
| ianaName | back to summary |
|---|---|
| pack-priv String ianaName | |
| javaName | back to summary |
|---|---|
| pack-priv String javaName | |
| lastPrintable | back to summary |
|---|---|
| pack-priv int lastPrintable | |
| EncodingInfo | back to summary |
|---|---|
| public EncodingInfo(String ianaName, String javaName, int lastPrintable) Creates new | |
| getIANAName | back to summary |
|---|---|
| public String getIANAName() Returns a MIME charset name of this encoding. | |
| getWriter | back to summary |
|---|---|
| public Writer getWriter(OutputStream output) throws UnsupportedEncodingException Returns a writer for this encoding based on an output stream.
| |
| isPrintable | back to summary |
|---|---|
| public boolean isPrintable(char ch) Checks whether the specified character is printable or not in this encoding.
| |
| isPrintable0 | back to summary |
|---|---|
| private boolean isPrintable0(char ch) Checks whether the specified character is printable or not in this encoding. This method accomplishes this using a java.nio.CharsetEncoder. If NIO isn't available it will attempt use a sun.io.CharToByteConverter.
| |
| testJavaEncodingName | back to summary |
|---|---|
| public static void testJavaEncodingName(String name) throws UnsupportedEncodingException | |