Package com.Ostermiller.util
Interface NoCloseStream
- All Known Implementing Classes:
NoCloseInputStream,NoCloseOutputStream,NoCloseReader,NoCloseWriter
public interface NoCloseStream
A wrapper for a stream (either input or output)
which has a close method with no effect.
More information about this class is available from ostermiller.org.
- Since:
- ostermillerutils 1.01.00
- Author:
- Stephen Ostermiller https://ostermiller.org/contact.pl?regarding=Java+Utilities
-
Method Summary
Modifier and TypeMethodDescriptionvoidActually closes this stream and releases any system resources associated with the stream, as opposed to the close() method, which does nothing.
-
Method Details
-
reallyClose
Actually closes this stream and releases any system resources associated with the stream, as opposed to the close() method, which does nothing.- Throws:
IOException- if an I/O error occurs.- Since:
- ostermillerutils 1.01.00
-