类 EOLConvertingInputStream
java.lang.Object
java.io.InputStream
com.sh.mail.mime4j.io.EOLConvertingInputStream
- 所有已实现的接口:
Closeable,AutoCloseable
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 16, 2012
-
字段概要
字段修饰符和类型字段说明static final intConverts single '\r' and '\n' to '\r\n'static final intConverts single '\r' to '\r\n'static final intConverts single '\n' to '\r\n' -
构造器概要
构造器构造器说明Creates a newEOLConvertingInputStreaminstance converting bytes in the givenInputStream.EOLConvertingInputStream(InputStream in, int flags) Creates a newEOLConvertingInputStreaminstance converting bytes in the givenInputStream. -
方法概要
从类继承的方法 java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
字段详细资料
-
构造器详细资料
-
EOLConvertingInputStream
Creates a newEOLConvertingInputStreaminstance converting bytes in the givenInputStream. The flagCONVERT_BOTHis the default.- 参数:
in- theInputStreamto read from.
-
EOLConvertingInputStream
Creates a newEOLConvertingInputStreaminstance converting bytes in the givenInputStream.- 参数:
in- theInputStreamto read from.flags- one ofCONVERT_CR,CONVERT_LForCONVERT_BOTH.
-
-
方法详细资料
-
close
Closes the underlying stream.- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中InputStream- 抛出:
IOException- on I/O errors.
-
read
- 指定者:
read在类中InputStream- 抛出:
IOException- 另请参阅:
-