public class EncodingInfo extends Object
Constructor and Description |
---|
EncodingInfo(String ianaName,
String javaName,
int lastPrintable)
Deprecated.
Creates new
EncodingInfo instance. |
Modifier and Type | Method and Description |
---|---|
String |
getIANAName()
Deprecated.
Returns a MIME charset name of this encoding.
|
Writer |
getWriter(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(String name)
Deprecated.
|
public String getIANAName()
public Writer getWriter(OutputStream output) throws UnsupportedEncodingException
UnsupportedEncodingException
- There is no convertor
to support this encodingpublic boolean isPrintable(char ch)
ch
- a code point (0-0x10ffff)public static void testJavaEncodingName(String name) throws UnsupportedEncodingException
UnsupportedEncodingException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.