类 EOLConvertingInputStream

java.lang.Object
java.io.InputStream
com.sh.mail.mime4j.io.EOLConvertingInputStream
所有已实现的接口:
Closeable, AutoCloseable

public class EOLConvertingInputStream extends InputStream

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 16, 2012
  • 字段详细资料

    • CONVERT_CR

      public static final int CONVERT_CR
      Converts single '\r' to '\r\n'
      另请参阅:
    • CONVERT_LF

      public static final int CONVERT_LF
      Converts single '\n' to '\r\n'
      另请参阅:
    • CONVERT_BOTH

      public static final int CONVERT_BOTH
      Converts single '\r' and '\n' to '\r\n'
      另请参阅:
  • 构造器详细资料

    • EOLConvertingInputStream

      public EOLConvertingInputStream(InputStream in)
      Creates a new EOLConvertingInputStream instance converting bytes in the given InputStream. The flag CONVERT_BOTH is the default.
      参数:
      in - the InputStream to read from.
    • EOLConvertingInputStream

      public EOLConvertingInputStream(InputStream in, int flags)
      Creates a new EOLConvertingInputStream instance converting bytes in the given InputStream.
      参数:
      in - the InputStream to read from.
      flags - one of CONVERT_CR, CONVERT_LF or CONVERT_BOTH.
  • 方法详细资料