org.apache.geronimo.mail.util
Interface Encoder
- All Known Implementing Classes:
- Base64Encoder, HexEncoder, QuotedPrintableEncoder, RFC2231Encoder, UUEncoder, XTextEncoder
public interface Encoder
Encode and decode byte arrays (typically from binary to 7-bit ASCII
encodings).
encode
int encode(byte[] data,
int off,
int length,
OutputStream out)
throws IOException
- Throws:
IOException
decode
int decode(byte[] data,
int off,
int length,
OutputStream out)
throws IOException
- Throws:
IOException
decode
int decode(String data,
OutputStream out)
throws IOException
- Throws:
IOException
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.