public class ProcessableDetectorOutputStream extends ProcessableDetectorStream implements DetectorOutputStream
DetectorOutputStream.| Modifier and Type | Class and Description |
|---|---|
protected class |
ProcessableDetectorOutputStream.WrapperOutputStream
This inner class is the actual wrapper stream.
|
| Modifier and Type | Field and Description |
|---|---|
private ProcessableDetectorOutputStream.WrapperOutputStream |
wrapperOutputStream |
| Constructor and Description |
|---|
ProcessableDetectorOutputStream(OutputStream outputStream,
Map<String,Object> mutableMetadata,
AbstractDetectorStreamProvider provider)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getStream()
This method gets the wrapped stream.
|
getByteArrayPool, initialize, processInternalgetMetadata, getMutableMetadata, isDone, setDoneclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetadata, isDoneprivate final ProcessableDetectorOutputStream.WrapperOutputStream wrapperOutputStream
public ProcessableDetectorOutputStream(OutputStream outputStream, Map<String,Object> mutableMetadata, AbstractDetectorStreamProvider provider)
outputStream - is the raw OutputStream to warp.mutableMetadata - is the initial mutable metadata.provider - is the DetectorStreamProvider creating this instance.public OutputStream getStream()
DetectorOutputStreammetadata can be retrieved. This requires that the entire data is written and no existing data is appended via the
original stream. This method is a simple getter - it will always return the same stream object. getStream in interface DetectorOutputStreamCopyright © 2001–2016 mmm-Team. All rights reserved.