public class UnixLineEndingInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
UnixLineEndingInputStream(java.io.InputStream inputStream,
boolean ensureLineFeedAtEndOfFile)
Creates an input stream that filters another stream
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream.
|
void |
mark(int readlimit) |
int |
read() |
public UnixLineEndingInputStream(java.io.InputStream inputStream,
boolean ensureLineFeedAtEndOfFile)
inputStream - The input stream to wrapensureLineFeedAtEndOfFile - true to ensure that the file ends with LFpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException - upon errorpublic void mark(int readlimit)
mark in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved