|
||||||||||
| 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(java.io.InputStream in,
java.io.OutputStream out)
Copies the contents of one stream to the other. |
static void |
encodeBase64(java.io.InputStream in,
java.io.OutputStream out)
Encodes the given stream using base64. |
static void |
encodeQuotedPrintable(java.io.InputStream in,
java.io.OutputStream out)
Encodes the given stream using Quoted-Printable. |
static void |
encodeQuotedPrintableBinary(java.io.InputStream in,
java.io.OutputStream out)
Encodes the given stream using Quoted-Printable. |
static java.io.OutputStream |
wrapBase64(java.io.OutputStream out)
Wraps the given stream in a Base64 encoder. |
static java.io.OutputStream |
wrapQuotedPrintable(java.io.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(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
in - not nullout - not null
java.io.IOException
public static void encodeQuotedPrintableBinary(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
in - not nullout - not null
java.io.IOException
public static void encodeQuotedPrintable(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
in - not nullout - not null
java.io.IOException
public static void encodeBase64(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
in - not nullout - not null
java.io.IOException - if an I/O error occurs
public static java.io.OutputStream wrapQuotedPrintable(java.io.OutputStream out,
boolean binary)
throws java.io.IOException
out - not null
java.io.IOException
public static java.io.OutputStream wrapBase64(java.io.OutputStream out)
throws java.io.IOException
out - not null
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||