public class ProfilingWriter extends Writer
| Constructor and Description |
|---|
ProfilingWriter() |
ProfilingWriter(LanguageProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush()
Ignored.
|
LanguageIdentifier |
getLanguage()
Returns the language that best matches the current state of the
language profile.
|
LanguageProfile |
getProfile()
Returns the language profile being built by this writer.
|
void |
write(char[] cbuf,
int off,
int len) |
public ProfilingWriter(LanguageProfile profile)
public ProfilingWriter()
public LanguageProfile getProfile()
getLanguage() method to get the language that best
matches the current state of the profile.public LanguageIdentifier getLanguage()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class WriterIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.