? WindowsLineEndingInputStream
java.lang.Object
java.io.InputStream
org.apache.commons.io.input.WindowsLineEndingInputStream
- ????????:
Closeable
,AutoCloseable
A filtering input stream that ensures the content will have Windows line endings, CRLF.
- ???????:
- 2.5
-
?????
????????WindowsLineEndingInputStream
(InputStream in, boolean ensureLineFeedAtEndOfFile) Creates an input stream that filters another stream -
????
??????? java.io.InputStream
available, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
???????
-
WindowsLineEndingInputStream
Creates an input stream that filters another stream- ??:
in
- The input stream to wrapensureLineFeedAtEndOfFile
- true to ensure that the file ends with CRLF
-
-
??????
-
read
- ???:
read
???InputStream
- ??:
IOException
-
close
Closes the stream. Also closes the underlying stream.- ???:
close
????AutoCloseable
- ???:
close
????Closeable
- ??:
close
???InputStream
- ??:
IOException
- upon error
-
mark
- ??:
mark
???InputStream
-