java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic static class FlexBase64.EncoderOutputStream
extends java.io.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) |
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOExceptionpublic void complete()
throws java.io.IOException
java.io.IOException - if the underlying stream throws onepublic void close()
throws java.io.IOException
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOExceptionCopyright © 2018. All rights reserved.