public class MimeOutputStreamWriter extends OutputStreamWriter
| Constructor and Description |
|---|
MimeOutputStreamWriter(OutputStream out)
Build MIME outputStreamWriter
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeHeader(String header,
Date value)
Write MIME header
|
void |
writeHeader(String header,
String value)
Write MIME header
|
void |
writeLn()
Write CRLF.
|
void |
writeLn(String line)
Write line.
|
close, flush, getEncoding, write, write, writepublic MimeOutputStreamWriter(OutputStream out) throws UnsupportedEncodingException
out - outputstreamUnsupportedEncodingException - on errorpublic void writeHeader(String header, String value) throws IOException
header - header namevalue - header valueIOException - on errorpublic void writeHeader(String header, Date value) throws IOException
header - header namevalue - header valueIOException - on errorpublic void writeLn(String line) throws IOException
line - line contentIOException - on errorpublic void writeLn()
throws IOException
IOException - on errorCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.