org.apache.tika
Class TestParsers
java.lang.Object
TestCase
org.apache.tika.TestParsers
public class TestParsers
- extends TestCase
Junit test class for Tika Parser
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestParsers
public TestParsers()
setUp
public void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPDFExtraction
public void testPDFExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTXTExtraction
public void testTXTExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRTFExtraction
public void testRTFExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testXMLExtraction
public void testXMLExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPPTExtraction
public void testPPTExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testWORDxtraction
public void testWORDxtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEXCELExtraction
public void testEXCELExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOOExtraction
public void testOOExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOutlookExtraction
public void testOutlookExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testHTMLExtraction
public void testHTMLExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testZipFileExtraction
public void testZipFileExtraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMP3Extraction
public void testMP3Extraction()
throws java.lang.Exception
- Throws:
java.lang.Exception
getFileResource
public java.lang.String getFileResource(java.lang.String name)
- This method will give you back the filename incl. the absolute path name
to the resource. If the resource does not exist it will give you back the
resource name incl. the path.
- Parameters:
name
- The named resource to search for.
- Returns:
- an absolute path incl. the name which is in the same directory as
the the class you've called it from.
getResourceAsFile
public java.io.File getResourceAsFile(java.lang.String filename)
getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String name)
Copyright © 2007-2010 Apache Software Foundation. All Rights Reserved.