类 Base64OutputStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
com.sh.mail.mime4j.codec.Base64OutputStream
所有已实现的接口:
Closeable, Flushable, AutoCloseable

public class Base64OutputStream extends FilterOutputStream

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 16, 2012
  • 构造器详细资料

    • Base64OutputStream

      public Base64OutputStream(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).
      参数:
      out - underlying output stream.
    • Base64OutputStream

      public Base64OutputStream(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).

      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.
    • Base64OutputStream

      public Base64OutputStream(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.

      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.
  • 方法详细资料