com.armatiek.infofuze.stream
Class DeferredFileOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.apache.commons.io.output.ThresholdingOutputStream
          extended by org.apache.commons.io.output.DeferredFileOutputStream
              extended by com.armatiek.infofuze.stream.DeferredFileOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class DeferredFileOutputStream
extends org.apache.commons.io.output.DeferredFileOutputStream

Author:
Maarten Kroon

Constructor Summary
DeferredFileOutputStream(int threshold, java.lang.String prefix, java.lang.String suffix)
           
 
Method Summary
 java.io.InputStream getDeferredInputStream()
           
 
Methods inherited from class org.apache.commons.io.output.DeferredFileOutputStream
close, getData, getFile, isInMemory, writeTo
 
Methods inherited from class org.apache.commons.io.output.ThresholdingOutputStream
flush, getByteCount, getThreshold, isThresholdExceeded, write, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeferredFileOutputStream

public DeferredFileOutputStream(int threshold,
                                java.lang.String prefix,
                                java.lang.String suffix)
Method Detail

getDeferredInputStream

public java.io.InputStream getDeferredInputStream()
                                           throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException