public class Base64OutputStream
extends java.io.FilterOutputStream
| 构造器和说明 |
|---|
Base64OutputStream(java.io.OutputStream out,
int flags)
Performs Base64 encoding on the data written to the stream, writing the encoded data to
another OutputStream.
|
Base64OutputStream(java.io.OutputStream out,
int flags,
boolean encode)
Performs Base64 encoding or decoding on the data written to the stream, writing the
encoded/decoded data to another OutputStream.
|
public Base64OutputStream(java.io.OutputStream out,
int flags)
out - the OutputStream to write the encoded data toflags - bit flags for controlling the encoder; see the constants in Base64public Base64OutputStream(java.io.OutputStream out,
int flags,
boolean encode)
out - the OutputStream to write the encoded data toflags - bit flags for controlling the encoder; see the constants in Base64encode - true to encode, false to decodepublic void write(int b)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseableclose 在类中 java.io.FilterOutputStreamjava.io.IOException