|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Encoding
An interface to represent an encoding. An encoding is a mapping between a character stream and a byte stream. It is like java.nio.charset.Charset but has slightly different form. This can represents some extended encodings like UTF-8Y which drops (inserts) the BOM bytes before actual decoding (encoding). This also enables to add some extended encodings such as ASCII representation used by Java property files.
| Method Summary | |
|---|---|
java.io.Reader |
getPermissiveTextReader(java.io.InputStream in)
Map an InputStream to a Reader. |
java.io.Reader |
getTextReader(java.io.InputStream in)
Map an InputStream to a Reader. |
java.io.Writer |
getTextWriter(java.io.OutputStream out)
Map an OutputStream to a Writer. |
| Method Detail |
|---|
java.io.Reader getTextReader(java.io.InputStream in)
throws java.io.IOException
java.io.IOException
java.io.Writer getTextWriter(java.io.OutputStream out)
throws java.io.IOException
java.io.IOException
java.io.Reader getPermissiveTextReader(java.io.InputStream in)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||