public class ProfilingHandler extends WriteOutContentHandler
Constructor and Description |
---|
ProfilingHandler() |
ProfilingHandler(LanguageProfile profile) |
ProfilingHandler(ProfilingWriter writer) |
Modifier and Type | Method and Description |
---|---|
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 content handler.
|
characters, ignorableWhitespace, isWriteLimitReached
endDocument, endElement, endPrefixMapping, handleException, processingInstruction, setContentHandler, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, toString
error, fatalError, notationDecl, resolveEntity, unparsedEntityDecl, warning
public ProfilingHandler(ProfilingWriter writer)
public ProfilingHandler(LanguageProfile profile)
public ProfilingHandler()
public LanguageProfile getProfile()
getLanguage()
method to get the language that best matches the current state of
the profile.public LanguageIdentifier getLanguage()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.