Class FixCommentsFilter
java.lang.Object
java.io.Writer
java.io.FilterWriter
org.jdrupes.builder.eclipse.FixCommentsFilter
- All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable
Add a comment to the written properties file and remove any
comments from upstream. This seems to be the only possible
way to avoid a time stamp in the written properties file
which may lead to confusion if nothing else has changed.
-
Field Summary
Fields inherited from class FilterWriter
out -
Constructor Summary
ConstructorsConstructorDescriptionFixCommentsFilter(Writer out, String comment) Instantiates a new fix comments filter. -
Method Summary
Methods inherited from class FilterWriter
flush
-
Constructor Details
-
FixCommentsFilter
Instantiates a new fix comments filter.- Parameters:
out- the outcomment- the comment
-
-
Method Details
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterWriter- Throws:
IOException
-