public class LanguageWriter
extends java.io.Writer
Constructor and Description |
---|
LanguageWriter(LanguageDetector detector) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Ignored.
|
void |
flush()
Ignored.
|
LanguageDetector |
getDetector()
Returns the language detector used by this writer.
|
LanguageResult |
getLanguage()
Returns the detected language based on text written thus far.
|
void |
reset() |
void |
write(char[] cbuf,
int off,
int len) |
public LanguageWriter(LanguageDetector detector)
public LanguageDetector getDetector()
public LanguageResult getLanguage()
public void write(char[] cbuf, int off, int len)
write
in class java.io.Writer
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.Writer
java.io.IOException
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.Writer
public void reset()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"