public class ParsingExample extends Object
Constructor and Description |
---|
ParsingExample() |
Modifier and Type | Method and Description |
---|---|
String |
parseExample()
Example of how to use Tika to parse an file when you do not know its file type
ahead of time.
|
String |
parseToStringExample()
Example of how to use Tika's parseToString method to parse the content of a file,
and return any text found.
|
public String parseToStringExample() throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
public String parseExample() throws IOException, SAXException, TikaException
IOException
SAXException
TikaException
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.