Package org.apache.tika.langdetect
Class LanguageDetectorTest
- java.lang.Object
- 
- org.apache.tika.langdetect.LanguageDetectorTest
 
- 
 public abstract class LanguageDetectorTest extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description LanguageDetectorTest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intcopyAtMost(Reader input, Writer output, int limit)protected String[]getTestLanguages()protected booleanhasTestLanguage(String language)protected voidwriteTo(String language, Writer writer)protected voidwriteTo(String language, Writer writer, int limit)
 
- 
- 
- 
Method Detail- 
getTestLanguagesprotected String[] getTestLanguages() throws IOException - Throws:
- IOException
 
 - 
hasTestLanguageprotected boolean hasTestLanguage(String language) 
 - 
writeToprotected void writeTo(String language, Writer writer) throws IOException - Throws:
- IOException
 
 - 
writeToprotected void writeTo(String language, Writer writer, int limit) throws IOException - Throws:
- IOException
 
 - 
copyAtMostprotected int copyAtMost(Reader input, Writer output, int limit) throws IOException - Throws:
- IOException
 
 
- 
 
-