Class HardThresholdingOutputStream
java.lang.Object
java.io.OutputStream
org.apache.commons.io.output.ThresholdingOutputStream
org.broadinstitute.hellbender.utils.io.HardThresholdingOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public abstract class HardThresholdingOutputStream
extends org.apache.commons.io.output.ThresholdingOutputStream
An output stream which stops at the threshold
instead of potentially triggering early.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.io.output.ThresholdingOutputStream
checkThreshold, close, flush, getByteCount, getStream, getThreshold, isThresholdExceeded, resetByteCount, setByteCount, thresholdReached, write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
HardThresholdingOutputStream
protected HardThresholdingOutputStream(int threshold)
-
-
Method Details
-
write
- Overrides:
write
in classorg.apache.commons.io.output.ThresholdingOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classorg.apache.commons.io.output.ThresholdingOutputStream
- Throws:
IOException
-