Package org.apache.tika.extractor
Class AbstractEmbeddedDocumentBytesHandler
- java.lang.Object
-
- org.apache.tika.extractor.AbstractEmbeddedDocumentBytesHandler
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,EmbeddedDocumentBytesHandler
- Direct Known Subclasses:
BasicEmbeddedDocumentBytesHandler
,EmittingEmbeddedDocumentBytesHandler
public abstract class AbstractEmbeddedDocumentBytesHandler extends Object implements EmbeddedDocumentBytesHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractEmbeddedDocumentBytesHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int id, Metadata metadata, InputStream bytes)
String
getEmitKey(String containerEmitKey, int embeddedId, EmbeddedDocumentBytesConfig embeddedDocumentBytesConfig, Metadata metadata)
List<Integer>
getIds()
-
-
-
Method Detail
-
getEmitKey
public String getEmitKey(String containerEmitKey, int embeddedId, EmbeddedDocumentBytesConfig embeddedDocumentBytesConfig, Metadata metadata)
-
add
public void add(int id, Metadata metadata, InputStream bytes) throws IOException
- Specified by:
add
in interfaceEmbeddedDocumentBytesHandler
- Throws:
IOException
-
getIds
public List<Integer> getIds()
- Specified by:
getIds
in interfaceEmbeddedDocumentBytesHandler
-
-