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, processInternal
getMetadata, getMutableMetadata, isDone, setDone
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetadata, isDone
private 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()
DetectorInputStream
metadata
can
be retrieved. This method is a simple getter - it will always return the same stream object. getStream
in interface DetectorInputStream
Copyright © 2001–2016 mmm-Team. All rights reserved.