Closeable, Flushable, AutoCloseablepublic class Base64EncodeStream extends OutputStream
| Constructor | Description |
|---|---|
Base64EncodeStream(OutputStream out) |
|
Base64EncodeStream(OutputStream out,
boolean closeOutOnClose) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
This can't really flush out output since that may generate
'=' chars which would indicate the end of the stream.
|
void |
write(byte[] data) |
|
void |
write(byte[] data,
int off,
int len) |
|
void |
write(int b) |
public Base64EncodeStream(OutputStream out)
public Base64EncodeStream(OutputStream out, boolean closeOutOnClose)
public void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] data)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] data,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2018 Apache Software Foundation. All rights reserved.