fop 1.0

org.apache.fop.util
Class CloseBlockerOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.apache.commons.io.output.ProxyOutputStream
              extended by org.apache.fop.util.CloseBlockerOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

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

This is a decorator to block calls to close() to the underlying stream.


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
CloseBlockerOutputStream(java.io.OutputStream out)
          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

CloseBlockerOutputStream

public CloseBlockerOutputStream(java.io.OutputStream out)
Main constructor.

Parameters:
out - the underlying stream
Method Detail

close

public void close()
           throws java.io.IOException

Specified by:
close in interface java.io.Closeable
Overrides:
close in class org.apache.commons.io.output.ProxyOutputStream
Throws:
java.io.IOException

fop 1.0

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.