Package org.codehaus.plexus.util.io
Class CachingOutputStream
java.lang.Object
java.io.OutputStream
org.codehaus.plexus.util.io.CachingOutputStream
- All Implemented Interfaces:
- Closeable,- Flushable,- AutoCloseable
Caching OutputStream to avoid overwriting a file with
 the same content.
- 
Constructor SummaryConstructorsConstructorDescriptionCachingOutputStream(File path) CachingOutputStream(Path path) CachingOutputStream(Path path, int bufferSize) 
- 
Method SummaryMethods inherited from class java.io.OutputStreamnullOutputStream
- 
Constructor Details- 
CachingOutputStream- Throws:
- IOException
 
- 
CachingOutputStream- Throws:
- IOException
 
- 
CachingOutputStream- Throws:
- IOException
 
 
- 
- 
Method Details- 
write- Specified by:
- writein class- OutputStream
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
write- Overrides:
- writein class- OutputStream
- Throws:
- IOException
 
- 
flush- Specified by:
- flushin interface- Flushable
- Overrides:
- flushin class- OutputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- OutputStream
- Throws:
- IOException
 
- 
isModifiedpublic boolean isModified()
 
-