Package org.apache.jackrabbit.vault.util
Class LineInputStream
java.lang.Object
java.io.InputStream
org.apache.jackrabbit.vault.util.LineInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
Provides an input stream wrapper that detects line feed sequences and
replaces them by new ones.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]static final byte[]static final byte[] -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
Field Details
-
LS_UNIX
public static final byte[] LS_UNIX -
LS_WINDOWS
public static final byte[] LS_WINDOWS -
LS_NATIVE
public static final byte[] LS_NATIVE
-
-
Constructor Details
-
LineInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-