public class ProcessableDetectorInputStream extends ProcessableDetectorStream implements DetectorInputStream
DetectorOutputStream.| Modifier and Type | Class and Description |
|---|---|
protected class |
ProcessableDetectorInputStream.WrapperInputStream
This inner class is the actual wrapper stream.
|
| Modifier and Type | Field and Description |
|---|---|
private ProcessableDetectorInputStream.WrapperInputStream |
wrapperInputStream |
| Constructor and Description |
|---|
ProcessableDetectorInputStream(InputStream inputStream,
Map<String,Object> mutableMetadata,
AbstractDetectorStreamProvider provider)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
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 ProcessableDetectorInputStream.WrapperInputStream wrapperInputStream
public ProcessableDetectorInputStream(InputStream inputStream, Map<String,Object> mutableMetadata, AbstractDetectorStreamProvider provider)
inputStream - is the raw InputStream to warp.mutableMetadata - is the initial mutable metadata.provider - is the DetectorStreamProvider creating this instance.public InputStream getStream()
DetectorInputStreammetadata can
be retrieved. This method is a simple getter - it will always return the same stream object. getStream in interface DetectorInputStreamCopyright © 2001–2016 mmm-Team. All rights reserved.