| java.lang.Object org.apache.xml.serialize.EncodingInfo
All known Subclasses: org.apache.xml.serialize.SieveEncodingInfo,
EncodingInfo | public class EncodingInfo (Code) | | This class represents an encoding.
version: $Id: EncodingInfo.java,v 1.1 2000/12/14 19:21:50 lehors Exp $ |
Constructor Summary | |
public | EncodingInfo(String mimeName, String javaName, int lastPrintable) Creates new EncodingInfo instance. | public | EncodingInfo(String mimeName, int lastPrintable) Creates new EncodingInfo instance. |
Method Summary | |
public String | getName() Returns a MIME charset name of this encoding. | public Writer | getWriter(OutputStream output) Returns a writer for this encoding based on
an output stream. | public boolean | isPrintable(int ch) Checks whether the specified character is printable or not. |
lastPrintable | int lastPrintable(Code) | | |
EncodingInfo | public EncodingInfo(String mimeName, String javaName, int lastPrintable)(Code) | | Creates new EncodingInfo instance.
|
EncodingInfo | public EncodingInfo(String mimeName, int lastPrintable)(Code) | | Creates new EncodingInfo instance.
|
getName | public String getName()(Code) | | Returns a MIME charset name of this encoding.
|
isPrintable | public boolean isPrintable(int ch)(Code) | | Checks whether the specified character is printable or not.
Parameters: ch - a code point (0-0x10ffff) |
|
|