com.Ostermiller.util Java Utilities


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 http://ostermiller.org/contact.pl?regarding=Java+Utilities

Method Summary
 void reallyClose()
          Actually closes this stream and releases any system resources associated with the stream, as opposed to the close() method, which does nothing.
 

Method Detail

reallyClose

void reallyClose()
                 throws IOException
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

com.Ostermiller.util Java Utilities


Copyright © 2001-2012 by Stephen Ostermiller