public class Base64EncodeStream extends OutputStream
| Constructor and Description |
|---|
Base64EncodeStream(OutputStream out) |
Base64EncodeStream(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 Base64EncodeStream(OutputStream out)
public Base64EncodeStream(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 © 2025 Apache Software Foundation. All rights reserved.