public class Base64EncodingOutputStream extends FilterOutputStream
out
Constructor and Description |
---|
Base64EncodingOutputStream(OutputStream outputStream)
Construct a base-64 encoding output stream.
|
public Base64EncodingOutputStream(OutputStream outputStream)
outputStream
- The output stream to which to write.public void write(int b) throws IOException
write
in class FilterOutputStream
b
- The byte.IOException
- If an I/O error occurs.public void write(byte[] b, int offset, int length) throws IOException
write
in class FilterOutputStream
b
- The array to write.offset
- Where in the data to start writing.length
- How many bytes to write.IOException
- If an I/O error occurs.public void flush() throws IOException
flush
in interface Flushable
flush
in class FilterOutputStream
IOException
- If an I/O error occurs.public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
- If an I/O error occurs.Copyright © 1999-2014 Apache OODT. All Rights Reserved.