de.unkrig.commons.io
Class UnclosableInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by de.unkrig.commons.io.UnclosableInputStream
All Implemented Interfaces:
java.io.Closeable

public class UnclosableInputStream
extends java.io.FilterInputStream

A FilterInputStream which ignores all invocations of close().


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
UnclosableInputStream(java.io.InputStream delegate)
           
 
Method Summary
 void close()
           
 
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnclosableInputStream

public UnclosableInputStream(java.io.InputStream delegate)
Method Detail

close

public void close()
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.FilterInputStream