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
IOException
protected boolean hasTestLanguage(String language)
protected void writeTo(String language, Writer writer) throws IOException
IOException
protected void writeTo(String language, Writer writer, int limit) throws IOException
IOException
protected int copyAtMost(Reader input, Writer output, int limit) throws IOException
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.