Package org.codehaus.plexus.util.io
Class CachingWriter
java.lang.Object
java.io.Writer
java.io.OutputStreamWriter
org.codehaus.plexus.util.io.CachingWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
Caching Writer to avoid overwriting a file with
the same content.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCachingWriter
(File path, Charset charset) CachingWriter
(Path path, Charset charset) CachingWriter
(Path path, Charset charset, int bufferSize) -
Method Summary
Methods inherited from class java.io.OutputStreamWriter
append, append, close, flush, getEncoding, write, write, write
Methods inherited from class java.io.Writer
append, nullWriter, write, write
-
Constructor Details
-
CachingWriter
- Throws:
IOException
-
CachingWriter
- Throws:
IOException
-
CachingWriter
- Throws:
IOException
-
-
Method Details
-
isModified
public boolean isModified()
-