com.sibvisions.util.io
Class NonClosingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by com.sibvisions.util.io.NonClosingInputStream
All Implemented Interfaces:
Closeable

public class NonClosingInputStream
extends FilterInputStream

The NonClosingInputstream is an InputStream wrapper that is not closable.


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
NonClosingInputStream(InputStream pStream)
          Creates a new instance of NonClosingInputStream.
 
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

NonClosingInputStream

public NonClosingInputStream(InputStream pStream)
Creates a new instance of NonClosingInputStream.

Parameters:
pStream - the wrapped stream
Method Detail

close

public void close()

Specified by:
close in interface Closeable
Overrides:
close in class FilterInputStream


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.