be.fedict.eid.applet.service.signer
Class NoCloseInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by org.apache.commons.io.input.ProxyInputStream
              extended by be.fedict.eid.applet.service.signer.NoCloseInputStream
All Implemented Interfaces:
Closeable

public class NoCloseInputStream
extends org.apache.commons.io.input.ProxyInputStream

Input Stream proxy that doesn't close the underlying input stream.

Author:
Frank Cornelis

Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
NoCloseInputStream(InputStream proxy)
          Main constructor.
 
Method Summary
 void close()
           
 
Methods inherited from class org.apache.commons.io.input.ProxyInputStream
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

NoCloseInputStream

public NoCloseInputStream(InputStream proxy)
Main constructor.

Parameters:
proxy -
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class org.apache.commons.io.input.ProxyInputStream
Throws:
IOException


Copyright © 2008-2012 FedICT. All Rights Reserved.