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

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.apache.commons.io.output.ProxyOutputStream
              extended by be.fedict.eid.applet.service.signer.NoCloseOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class NoCloseOutputStream
extends org.apache.commons.io.output.ProxyOutputStream

Output Stream proxy that doesn't close the underlying stream.

Author:
Frank Cornelis

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
NoCloseOutputStream(OutputStream proxy)
          Main constructor.
 
Method Summary
 void close()
           
 
Methods inherited from class org.apache.commons.io.output.ProxyOutputStream
flush, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoCloseOutputStream

public NoCloseOutputStream(OutputStream 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.output.ProxyOutputStream
Throws:
IOException


Copyright © 2008-2012 FedICT. All Rights Reserved.