Interface TikaExtractor.DestinationStorage
-
- All Known Implementing Classes:
TikaExtractor.FileDestinationStorage,TikaExtractor.MemoryDestinationStorage
- Enclosing class:
- TikaExtractor
protected static interface TikaExtractor.DestinationStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close the object and clean up everything.longgetBinaryLength()Get new binary length.java.io.InputStreamgetInputStream()Get the input stream to read from.java.io.OutputStreamgetOutputStream()Get the output stream to write to.
-
-
-
Method Detail
-
getOutputStream
java.io.OutputStream getOutputStream() throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet the output stream to write to. Caller should explicitly close this stream when done writing.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getBinaryLength
long getBinaryLength() throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet new binary length.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
getInputStream
java.io.InputStream getInputStream() throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionGet the input stream to read from. Caller should explicitly close this stream when done reading.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
close
void close() throws org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionClose the object and clean up everything. This should be called when the data is no longer needed.- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
-
-