Package org.nuiton.util
Class PropertiesDateRemoveFilterStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
org.nuiton.util.PropertiesDateRemoveFilterStream
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class PropertiesDateRemoveFilterStream
extends java.io.FilterOutputStream
Class used to not print first line into delegated
OutputStream.
Used to remove first comment line writed by Properties.store(OutputStream, String).- Author:
- chatellier
-
Field Summary
Fields Modifier and Type Field Description protected charendCharprotected booleanfirstLineOver -
Constructor Summary
Constructors Constructor Description PropertiesDateRemoveFilterStream(java.io.OutputStream out) -
Method Summary
Modifier and Type Method Description voidwrite(int b)
-
Field Details
-
firstLineOver
protected boolean firstLineOver -
endChar
protected char endChar
-
-
Constructor Details
-
PropertiesDateRemoveFilterStream
public PropertiesDateRemoveFilterStream(java.io.OutputStream out)
-
-
Method Details
-
write
public void write(int b) throws java.io.IOException- Overrides:
writein classjava.io.FilterOutputStream- Throws:
java.io.IOException
-