Package org.apache.tika.pipes.extractor
Class EmittingEmbeddedDocumentBytesHandler
- java.lang.Object
-
- org.apache.tika.extractor.AbstractEmbeddedDocumentBytesHandler
-
- org.apache.tika.pipes.extractor.EmittingEmbeddedDocumentBytesHandler
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,EmbeddedDocumentBytesHandler
public class EmittingEmbeddedDocumentBytesHandler extends AbstractEmbeddedDocumentBytesHandler
-
-
Constructor Summary
Constructors Constructor Description EmittingEmbeddedDocumentBytesHandler(FetchEmitTuple fetchEmitTuple, EmitterManager emitterManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int id, Metadata metadata, InputStream inputStream)
void
close()
-
Methods inherited from class org.apache.tika.extractor.AbstractEmbeddedDocumentBytesHandler
getEmitKey, getIds
-
-
-
-
Constructor Detail
-
EmittingEmbeddedDocumentBytesHandler
public EmittingEmbeddedDocumentBytesHandler(FetchEmitTuple fetchEmitTuple, EmitterManager emitterManager) throws TikaConfigException
- Throws:
TikaConfigException
-
-
Method Detail
-
add
public void add(int id, Metadata metadata, InputStream inputStream) throws IOException
- Specified by:
add
in interfaceEmbeddedDocumentBytesHandler
- Overrides:
add
in classAbstractEmbeddedDocumentBytesHandler
- Throws:
IOException
-
close
public void close() throws IOException
- Throws:
IOException
-
-