public class Base64OutputStream
extends java.io.FilterOutputStream
Description:
Title:首亨软件 - TSS/CRM等
| 构造器和说明 |
|---|
Base64OutputStream(java.io.OutputStream out)
Creates a
Base64OutputStream that writes the encoded data
to the given output stream using the default line length (76) and line
separator (CRLF). |
Base64OutputStream(java.io.OutputStream out,
int lineLength)
Creates a
Base64OutputStream that writes the encoded data
to the given output stream using the given line length and the default
line separator (CRLF). |
Base64OutputStream(java.io.OutputStream out,
int lineLength,
byte[] lineSeparator)
Creates a
Base64OutputStream that writes the encoded data
to the given output stream using the given line length and line
separator. |
public Base64OutputStream(java.io.OutputStream out)
Base64OutputStream that writes the encoded data
to the given output stream using the default line length (76) and line
separator (CRLF).out - underlying output stream.public Base64OutputStream(java.io.OutputStream out,
int lineLength)
Base64OutputStream that writes the encoded data
to the given output stream using the given line length and the default
line separator (CRLF).
The given line length will be rounded up to the nearest multiple of 4. If the line length is zero then the output will not be split into lines.
out - underlying output stream.lineLength - desired line length.public Base64OutputStream(java.io.OutputStream out,
int lineLength,
byte[] lineSeparator)
Base64OutputStream that writes the encoded data
to the given output stream using the given line length and line
separator.
The given line length will be rounded up to the nearest multiple of 4. If the line length is zero then the output will not be split into lines and the line separator is ignored.
The line separator must not include characters from the BASE64 alphabet
(including the padding character =).
out - underlying output stream.lineLength - desired line length.lineSeparator - line separator to use.public final void write(int b)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreamjava.io.IOExceptionpublic final void write(byte[] buffer)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreamjava.io.IOExceptionpublic final void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write 在类中 java.io.FilterOutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush 在接口中 java.io.Flushableflush 在类中 java.io.FilterOutputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseableclose 在类中 java.io.FilterOutputStreamjava.io.IOException