| Type Params | Return Type | Name and description |
|---|---|---|
|
java.lang.String |
parseFile(java.io.File file, org.apache.tika.config.TikaConfig tikaConfig, org.apache.tika.metadata.Metadata metadata)Parse a file and return the content and metadata that Apache Tika has found through its parsers as an XML string. |
|
java.lang.String |
parseFile(java.io.File file)Parse a file and return the content and metadata that Apache Tika has found through its parsers as an XML string. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Parse a file and return the content and metadata that Apache Tika has found through its parsers as an XML string.
file - the file to parsetikaConfig - a TikaConfig instancemetadata - a TikaMetadata instanceParse a file and return the content and metadata that Apache Tika has found through its parsers as an XML string.
file - the file to parse - Tika will employ a heuristic to determine
the correct format. If this fails, use supply a tikaConfig and metadata parameter
to the parseFile method.