public abstract class LanguageDetectorTest extends Object
| Constructor and Description |
|---|
LanguageDetectorTest() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
copyAtMost(Reader input,
Writer output,
int limit) |
protected String[] |
getTestLanguages() |
protected boolean |
hasTestLanguage(String language) |
protected void |
writeTo(String language,
Writer writer) |
protected void |
writeTo(String language,
Writer writer,
int limit) |
protected String[] getTestLanguages() throws IOException
IOExceptionprotected boolean hasTestLanguage(String language)
protected void writeTo(String language, Writer writer) throws IOException
IOExceptionprotected void writeTo(String language, Writer writer, int limit) throws IOException
IOExceptionprotected int copyAtMost(Reader input, Writer output, int limit) throws IOException
IOExceptionCopyright © 2007–2022 The Apache Software Foundation. All rights reserved.