Package org.apache.jackrabbit.vault.util
Class LineOutputStream
java.lang.Object
java.io.OutputStream
org.apache.jackrabbit.vault.util.LineOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Provides an output 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[]static final byte[] -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Field Details
-
LS_BINARY
public static final byte[] LS_BINARY -
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
-
LineOutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-