Closeable, Flushable, AutoCloseablepublic static class FlexBase64.EncoderOutputStream extends OutputStream
Closing this stream will result in the correct padding sequence being written. However, as
required by the OutputStream contract, the wrapped stream will also be closed. If this is not desired,
the complete() method should be used.
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
complete() |
Completes the stream, writing out base64 padding characters if needed.
|
void |
flush() |
|
void |
write(byte[] b,
int off,
int len) |
|
void |
write(int b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class OutputStreamIOExceptionpublic void complete()
throws IOException
IOException - if the underlying stream throws onepublic void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class OutputStreamIOExceptionCopyright © 2018. All rights reserved.