org.apache.xml.serialize
public class EncodingInfo extends Object
Version: $Id: EncodingInfo.java,v 1.7 2005/05/22 19:11:07 mrglavas Exp $
| Constructor Summary | |
|---|---|
| EncodingInfo(String ianaName, String javaName, int lastPrintable)
Creates new EncodingInfo instance. | |
| Method Summary | |
|---|---|
| String | getIANAName()
Returns a MIME charset name of this encoding. |
| Writer | getWriter(OutputStream output)
Returns a writer for this encoding based on
an output stream.
|
| boolean | isPrintable(char ch)
Checks whether the specified character is printable or not in this encoding.
|
| static void | testJavaEncodingName(String name) |
EncodingInfo instance.Returns: A suitable writer
Throws: UnsupportedEncodingException There is no convertor to support this encoding
Parameters: ch a code point (0-0x10ffff)