Package org.apache.tika.example
Class TIAParsingExample
- java.lang.Object
-
- org.apache.tika.example.TIAParsingExample
-
public class TIAParsingExample extends Object
-
-
Constructor Summary
Constructors Constructor Description TIAParsingExample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
parseFileInputStream(String filename)
static void
parseTikaInputStream(String filename)
static void
parseToReaderExample()
static String
parseToStringExample()
static void
parseURLStream(String address)
static void
testCompositeDocument()
static void
testHtmlMapper()
static void
testLocale()
static void
testTeeContentHandler(String filename)
static File
tikaInputStreamGetFile(String filename)
static void
useAutoDetectParser()
static void
useCompositeParser()
static void
useHtmlParser()
-
-
-
Method Detail
-
parseFileInputStream
public static void parseFileInputStream(String filename) throws Exception
- Throws:
Exception
-
parseURLStream
public static void parseURLStream(String address) throws Exception
- Throws:
Exception
-
parseTikaInputStream
public static void parseTikaInputStream(String filename) throws Exception
- Throws:
Exception
-
tikaInputStreamGetFile
public static File tikaInputStreamGetFile(String filename) throws Exception
- Throws:
Exception
-
testTeeContentHandler
public static void testTeeContentHandler(String filename) throws Exception
- Throws:
Exception
-
-