protected static class TikaExtractor.FileDestinationStorage extends Object implements TikaExtractor.DestinationStorage
| Modifier and Type | Field and Description |
|---|---|
protected File |
outputFile |
protected OutputStream |
outputStream |
| Constructor and Description |
|---|
TikaExtractor.FileDestinationStorage() |
| 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 File outputFile
protected final OutputStream outputStream
public TikaExtractor.FileDestinationStorage()
throws ManifoldCFException
ManifoldCFExceptionpublic 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