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
ManifoldCFException
public OutputStream getOutputStream() throws ManifoldCFException
TikaExtractor.DestinationStorage
getOutputStream
in interface TikaExtractor.DestinationStorage
ManifoldCFException
public long getBinaryLength() throws ManifoldCFException
getBinaryLength
in interface TikaExtractor.DestinationStorage
ManifoldCFException
public InputStream getInputStream() throws ManifoldCFException
getInputStream
in interface TikaExtractor.DestinationStorage
ManifoldCFException
public void close() throws ManifoldCFException
close
in interface TikaExtractor.DestinationStorage
ManifoldCFException