|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
ccs.mime.Base64OutputStream
public class Base64OutputStream
Encodes a binary stream into Base64 encoding.
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
Base64OutputStream(java.io.OutputStream out)
Create an encoder with default buffer size. |
|
Base64OutputStream(java.io.OutputStream out,
int bufsz)
Create an encoder with the specified buffer size and eventual output. |
Method Summary | |
---|---|
void |
close()
Finish and close the stream. |
void |
finish()
Finish the encoding. |
void |
write(byte[] inbuf,
int off,
int len)
Encode a subarray to the stream. |
void |
write(int b)
|
Methods inherited from class java.io.FilterOutputStream |
---|
flush, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Base64OutputStream(java.io.OutputStream out)
public Base64OutputStream(java.io.OutputStream out, int bufsz)
Method Detail |
---|
public void write(int b) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void write(byte[] inbuf, int off, int len) throws java.io.IOException
write
in class java.io.FilterOutputStream
java.io.IOException
public void finish() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.FilterOutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |