public class UnixLineEndingInputStream extends InputStream
| 构造器和说明 |
|---|
UnixLineEndingInputStream(InputStream in,
boolean ensureLineFeedAtEndOfFile)
Create an input stream that filters another stream
|
public UnixLineEndingInputStream(InputStream in, boolean ensureLineFeedAtEndOfFile)
in - The input stream to wrapensureLineFeedAtEndOfFile - true to ensure that the file ends with LFpublic int read()
throws IOException
read 在类中 InputStreamIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 InputStreamIOException - upon errorpublic void mark(int readlimit)
mark 在类中 InputStream