public class Base64EncoderStream extends OutputStream
| Constructor and Description |
|---|
Base64EncoderStream(OutputStream out) |
Base64EncoderStream(OutputStream out,
boolean closeOutOnClose) |
| Modifier and Type | Method and 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 Base64EncoderStream(OutputStream out)
public Base64EncoderStream(OutputStream out, boolean closeOutOnClose)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose 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 © 2000–2021 Apache Software Foundation. All rights reserved.