public class LanguageHandler extends WriteOutContentHandler
Constructor and Description |
---|
LanguageHandler() |
LanguageHandler(LanguageDetector detector) |
LanguageHandler(LanguageWriter writer) |
Modifier and Type | Method and Description |
---|---|
LanguageDetector |
getDetector()
Returns the language detector used by this content handler.
|
LanguageResult |
getLanguage()
Returns the detected language based on text handled thus far.
|
characters, ignorableWhitespace, isWriteLimitReached
endDocument, endElement, endPrefixMapping, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toString
public LanguageHandler() throws java.io.IOException
java.io.IOException
public LanguageHandler(LanguageWriter writer)
public LanguageHandler(LanguageDetector detector)
public LanguageDetector getDetector()
public LanguageResult getLanguage()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"