protected static class TikaExtractor.MemoryDestinationStorage extends Object implements TikaExtractor.DestinationStorage
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayOutputStream |
outputStream |
| Constructor and Description |
|---|
TikaExtractor.MemoryDestinationStorage(int sizeHint) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the object and clean up everything.
|
long |
getBinaryLength()
Get new binary length.
|
InputStream |
getInputStream()
Get the input stream to read from.
|
OutputStream |
getOutputStream()
Get the output stream to write to.
|
protected final ByteArrayOutputStream outputStream
public TikaExtractor.MemoryDestinationStorage(int sizeHint)
public OutputStream getOutputStream() throws ManifoldCFException
TikaExtractor.DestinationStoragegetOutputStream in interface TikaExtractor.DestinationStorageManifoldCFExceptionpublic long getBinaryLength()
throws ManifoldCFException
getBinaryLength in interface TikaExtractor.DestinationStorageManifoldCFExceptionpublic InputStream getInputStream() throws ManifoldCFException
getInputStream in interface TikaExtractor.DestinationStorageManifoldCFExceptionpublic void close()
throws ManifoldCFException
close in interface TikaExtractor.DestinationStorageManifoldCFException