Class ReportConfiguration.NoCloseOutputStream
java.lang.Object
java.io.OutputStream
org.apache.rat.ReportConfiguration.NoCloseOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
- Enclosing class:
ReportConfiguration
A wrapper around an output stream that does not close the output stream.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
nullOutputStream
-
Constructor Details
-
NoCloseOutputStream
Constructor.- Parameters:
delegate- the output stream to wrap.
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
close
Does not actually close the delegate. But does perform a flush.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException- on Error.
-
equals
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
hashCode
-
toString
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-