public class Base64OutputStream extends OutputStream
| Constructor and Description | 
|---|
| Base64OutputStream(Writer out) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Call this method to indicate end of data stream 
 and to append any padding characters if necessary. | 
| void | finish()Deprecated. 
 use the close() method instead. | 
| void | flush() | 
| void | write(byte[] b,
     int off,
     int len)Writes len bytes from the specified byte array starting at offset off 
 to this output stream. | 
| void | write(int b)Takes a byte writes it out to the writer | 
writepublic Base64OutputStream(Writer out)
public void write(int b)
           throws IOException
write in class OutputStreamb - a byteIOExceptionpublic void write(byte[] b,
         int off,
         int len)
           throws IOException,
                  NullPointerException
write in class OutputStreamb - the dataoff - the start offset in the datalen - the number of bytes to readIOExceptionNullPointerExceptionpublic void flush()
           throws IOException
flush in interface Flushableflush in class OutputStreamIOException@Deprecated public void finish() throws IOException
IOExceptionpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.