|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.aitools.aq.textextraction.TextExtractor
de.aitools.aq.textextraction.TikaConverter
public class TikaConverter
Constructor Summary | |
---|---|
TikaConverter()
|
Method Summary | |
---|---|
void |
extract(java.io.File from,
java.io.File to)
Extracts plain text from the given inputFile. |
java.util.Set<org.apache.tika.mime.MediaType> |
getSupportedMediaTypes()
Returns a the MIME type supported by this converter. |
Methods inherited from class de.aitools.aq.textextraction.TextExtractor |
---|
extract |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TikaConverter()
Method Detail |
---|
public java.util.Set<org.apache.tika.mime.MediaType> getSupportedMediaTypes()
TextExtractor
getSupportedMediaTypes
in class TextExtractor
public void extract(java.io.File from, java.io.File to) throws TextExtractorException
TextExtractor
extract
in class TextExtractor
from
- The input file to extract plain text fromto
- The path of the plain text file to be created
TextExtractorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |