org.apache.tika.parser.txt
Class TXTParserTest

java.lang.Object
  extended by TestCase
      extended by org.apache.tika.parser.txt.TXTParserTest

public class TXTParserTest
extends TestCase


Constructor Summary
TXTParserTest()
           
 
Method Summary
 void testDropByteOrderMark()
          Test case for TIKA-240: Drop the BOM when extracting plain text
 void testEmptyText()
           
 void testEnglishText()
           
 void testRetainIncomingLanguage()
          Test case for TIKA-339: don't override incoming language
 void testUseIncomingCharsetAsHint()
          Test case for TIKA-335: using incoming charset
 void testUsingCharsetInContentTypeHeader()
          Test case for TIKA-341: using charset in content-type
 void testUTF8Text()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TXTParserTest

public TXTParserTest()
Method Detail

testEnglishText

public void testEnglishText()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testUTF8Text

public void testUTF8Text()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testEmptyText

public void testEmptyText()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testDropByteOrderMark

public void testDropByteOrderMark()
                           throws java.lang.Exception
Test case for TIKA-240: Drop the BOM when extracting plain text

Throws:
java.lang.Exception
See Also:
TIKA-240

testUseIncomingCharsetAsHint

public void testUseIncomingCharsetAsHint()
                                  throws java.lang.Exception
Test case for TIKA-335: using incoming charset

Throws:
java.lang.Exception
See Also:
TIKA-335

testUsingCharsetInContentTypeHeader

public void testUsingCharsetInContentTypeHeader()
                                         throws java.lang.Exception
Test case for TIKA-341: using charset in content-type

Throws:
java.lang.Exception
See Also:
TIKA-341

testRetainIncomingLanguage

public void testRetainIncomingLanguage()
                                throws java.lang.Exception
Test case for TIKA-339: don't override incoming language

Throws:
java.lang.Exception
See Also:
TIKA-335


Copyright © 2007-2010 Apache Software Foundation. All Rights Reserved.