LanguageWriter
@Deprecated public class ProfilingWriter extends Writer
Constructor and Description |
---|
ProfilingWriter()
Deprecated.
|
ProfilingWriter(LanguageProfile profile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
void |
flush()
Deprecated.
Ignored.
|
LanguageIdentifier |
getLanguage()
Deprecated.
Returns the language that best matches the current state of the
language profile.
|
LanguageProfile |
getProfile()
Deprecated.
Returns the language profile being built by this writer.
|
void |
write(char[] cbuf,
int off,
int len)
Deprecated.
|
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 write(char[] cbuf, int off, int len)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Writer
IOException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.