Package org.lockss.util
Class DeferredTempFileOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.io.output.ThresholdingOutputStream
org.lockss.util.io.DeferredTempFileOutputStream
org.lockss.util.DeferredTempFileOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class DeferredTempFileOutputStream
extends org.lockss.util.io.DeferredTempFileOutputStream
Allow V1 plugins to transparently use DeferredTempFileOutputStream
in old package
-
Field Summary
Fields inherited from class org.lockss.util.io.DeferredTempFileOutputStream
closed, currentOutputStream, memoryOutputStream, tempFile, tempName -
Constructor Summary
ConstructorsConstructorDescriptionDeferredTempFileOutputStream(int threshold) DeferredTempFileOutputStream(int threshold, String name) -
Method Summary
Methods inherited from class org.lockss.util.io.DeferredTempFileOutputStream
close, createTempFile, deleteTempFile, getData, getDeleteOnCloseInputStream, getFile, getInputStream, getStream, isInMemory, thresholdReachedMethods inherited from class org.apache.commons.io.output.ThresholdingOutputStream
checkThreshold, flush, getByteCount, getOutputStream, getThreshold, isThresholdExceeded, resetByteCount, setByteCount, write, write, writeMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
DeferredTempFileOutputStream
public DeferredTempFileOutputStream(int threshold) -
DeferredTempFileOutputStream
-