|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
net.jxta.impl.util.BASE64OutputStream
An OutputStream implementation which encodes the written bytes into BASE64 encoded character data and writes the output to an associated text Writer.
This implementation is not thread safe.
BASE64InputStream
,
IETF RFC 2045 MIME : Format of Internet Message BodiesWField Summary | |
(package private) static char[] |
encode
BASE64 Encoding Table |
Constructor Summary | |
BASE64OutputStream(Writer sendTo)
Construct a BASE64 Output Stream. |
|
BASE64OutputStream(Writer sendTo,
int columnWidth)
Construct a BASE64 Output Stream. |
Method Summary | |
void |
close()
The output writer is NOT closed. |
void |
flush()
|
void |
write(int b)
|
Methods inherited from class java.io.OutputStream |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final char[] encode
Constructor Detail |
public BASE64OutputStream(Writer sendTo)
sendTo
- The text Writer to which the BASE64 output will be
written.public BASE64OutputStream(Writer sendTo, int columnWidth)
columnWidth
long.
sendTo
- The text Writer to which the BASE64 output will be
written.columnWidth
- The width of lines to break output into.Method Detail |
public void write(int b) throws IOException
IOException
public void close() throws IOException
IOException
public void flush() throws IOException
IOException
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |