|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectguarana.toolkit.task.streamdealers.codecs.QuotedPrintableCodec
public class QuotedPrintableCodec
A Quoted printable codec implementation.
Constructor Summary | |
---|---|
QuotedPrintableCodec(String charset)
Constructs a new quoted printable codec using the given charset. |
Method Summary | |
---|---|
byte[] |
decode(byte[] data)
Decodes a byte[] that represents a quoted printable. |
byte[] |
encode(byte[] data)
Encodes a byte[] that represents a quoted printable. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuotedPrintableCodec(String charset)
charset
- The charset to be used.CharEncoding
Method Detail |
---|
public byte[] decode(byte[] data) throws CodecException
decode
in interface ICodec
data
- A byte array to be decoded.
CodecException
- if this method cannot decode the byte[].ICodec.decode(byte[])
public byte[] encode(byte[] data) throws CodecException
encode
in interface ICodec
data
- A byte array to be encoded.
CodecException
- if this method cannot decode the byte[].ICodec.encode(byte[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |