public class EncodingInfo
extends java.lang.Object
Constructor and Description |
---|
EncodingInfo(java.lang.String ianaName,
java.lang.String javaName,
int lastPrintable)
Deprecated.
Creates new
EncodingInfo instance. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIANAName()
Deprecated.
Returns a MIME charset name of this encoding.
|
java.io.Writer |
getWriter(java.io.OutputStream output)
Deprecated.
Returns a writer for this encoding based on
an output stream.
|
boolean |
isPrintable(char ch)
Deprecated.
Checks whether the specified character is printable or not in this encoding.
|
static void |
testJavaEncodingName(java.lang.String name)
Deprecated.
|
public EncodingInfo(java.lang.String ianaName, java.lang.String javaName, int lastPrintable)
EncodingInfo
instance.public java.lang.String getIANAName()
public java.io.Writer getWriter(java.io.OutputStream output) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
- There is no convertor
to support this encodingpublic boolean isPrintable(char ch)
ch
- a code point (0-0x10ffff)public static void testJavaEncodingName(java.lang.String name) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.