public class TikaProcessor extends Object
Constructor and Description |
---|
TikaProcessor() |
Modifier and Type | Method and Description |
---|---|
static Document.Type |
fromMediaType(org.apache.tika.mime.MediaType mediaType,
Log log) |
static String |
process(Log log,
Document document)
Process the input document.
|
public static String process(Log log, Document document) throws RatDocumentAnalysisException
log
- the log for messages.document
- the Document to process.RatDocumentAnalysisException
- on error.public static Document.Type fromMediaType(org.apache.tika.mime.MediaType mediaType, Log log)
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.