类 LineReaderInputStreamAdaptor
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.sh.mail.mime4j.io.LineReaderInputStream
com.sh.mail.mime4j.io.LineReaderInputStreamAdaptor
- 所有已实现的接口:
Closeable,AutoCloseable
Description:
Title:首亨软件 - TSS/CRM等
- 从以下版本开始:
- Aug 16, 2012
-
字段概要
从类继承的字段 java.io.FilterInputStream
in -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleaneof()booleanisUsed()intread()intread(byte[] b, int off, int len) intreadLine(ByteArrayBuffer dst) Reads one line of text into the givenByteArrayBuffer.longskip(long count) toString()booleanunread(ByteArrayBuffer buf) Tries to unread the last read line.从类继承的方法 java.io.FilterInputStream
available, close, mark, markSupported, read, reset从类继承的方法 java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
构造器详细资料
-
LineReaderInputStreamAdaptor
-
LineReaderInputStreamAdaptor
-
-
方法详细资料
-
read
- 覆盖:
read在类中FilterInputStream- 抛出:
IOException
-
read
- 覆盖:
read在类中FilterInputStream- 抛出:
IOException
-
readLine
从类复制的说明:LineReaderInputStreamReads one line of text into the givenByteArrayBuffer.- 指定者:
readLine在类中LineReaderInputStream- 参数:
dst- Destination- 返回:
- number of bytes copied or
-1if the end of the stream has been reached. - 抛出:
MaxLineLimitException- if the line exceeds a limit on the line length imposed by a subclass.IOException- in case of an I/O error.
-
eof
public boolean eof() -
isUsed
public boolean isUsed() -
toString
-
unread
从类复制的说明:LineReaderInputStreamTries to unread the last read line. Implementation may refuse to unread a new buffer until the previous unread one has been competely consumed. Implementations will directly use the byte array backed by buf, so make sure to not alter it anymore once this method has been called.- 指定者:
unread在类中LineReaderInputStream- 参数:
buf- ByteArrayBuffer- 返回:
- true if the unread has been succesfull.
-
skip
- 覆盖:
skip在类中FilterInputStream- 抛出:
IOException
-