| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.system.configuration.EncodingInfo
public class EncodingInfo
This class represents an encoding.
| Constructor Summary | |
|---|---|
| EncodingInfo(String mimeName,
                         int lastPrintable)Creates new EncodingInfoinstance. | |
| EncodingInfo(String mimeName,
                         String javaName,
                         int lastPrintable)Creates new EncodingInfoinstance. | |
| Method Summary | |
|---|---|
|  String | getName()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(int ch)Checks whether the specified character is printable or not. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EncodingInfo(String mimeName,
                    String javaName,
                    int lastPrintable)
EncodingInfo instance.
public EncodingInfo(String mimeName,
                    int lastPrintable)
EncodingInfo instance.
| Method Detail | 
|---|
public String getName()
public Writer getWriter(OutputStream output)
                 throws UnsupportedEncodingException
UnsupportedEncodingException - There is no convertor
  to support this encodingpublic boolean isPrintable(int ch)
ch - a code point (0-0x10ffff)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||