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 Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void flush() throws IOException
flush
in interface Flushable
flush
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] data) throws IOException
write
in class OutputStream
IOException
public void write(byte[] data, int off, int len) throws IOException
write
in class OutputStream
IOException
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.