|
Apache JAMES Mime4j 0.6-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.mime4j.codec.CodecUtil
public class CodecUtil
Utility methods related to codecs.
Constructor Summary | |
---|---|
CodecUtil()
|
Method Summary | |
---|---|
static void |
copy(InputStream in,
OutputStream out)
Copies the contents of one stream to the other. |
static void |
encodeBase64(InputStream in,
OutputStream out)
Encodes the given stream using base64. |
static void |
encodeQuotedPrintable(InputStream in,
OutputStream out)
Encodes the given stream using Quoted-Printable. |
static void |
encodeQuotedPrintableBinary(InputStream in,
OutputStream out)
Encodes the given stream using Quoted-Printable. |
static OutputStream |
wrapBase64(OutputStream out)
Wraps the given stream in a Base64 encoder. |
static OutputStream |
wrapQuotedPrintable(OutputStream out,
boolean binary)
Wraps the given stream in a Quoted-Printable encoder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CodecUtil()
Method Detail |
---|
public static void copy(InputStream in, OutputStream out) throws IOException
in
- not nullout
- not null
IOException
public static void encodeQuotedPrintableBinary(InputStream in, OutputStream out) throws IOException
in
- not nullout
- not null
IOException
public static void encodeQuotedPrintable(InputStream in, OutputStream out) throws IOException
in
- not nullout
- not null
IOException
public static void encodeBase64(InputStream in, OutputStream out) throws IOException
in
- not nullout
- not null
IOException
- if an I/O error occurspublic static OutputStream wrapQuotedPrintable(OutputStream out, boolean binary) throws IOException
out
- not null
IOException
public static OutputStream wrapBase64(OutputStream out) throws IOException
out
- not null
IOException
|
Apache JAMES Mime4j 0.6-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |