public class HTMLLanguageParser extends Object implements HtmlParseFilter
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
X_POINT_ID
Constructor and Description |
---|
HTMLLanguageParser() |
Modifier and Type | Method and Description |
---|---|
ParseResult |
filter(Content content,
ParseResult parseResult,
HTMLMetaTags metaTags,
DocumentFragment doc)
Scan the HTML document looking at possible indications of content language
1. |
Configuration |
getConf() |
void |
setConf(Configuration conf) |
public ParseResult filter(Content content, ParseResult parseResult, HTMLMetaTags metaTags, DocumentFragment doc)
filter
in interface HtmlParseFilter
public void setConf(Configuration conf)
setConf
in interface Configurable
public Configuration getConf()
getConf
in interface Configurable
Copyright © 2015 The Apache Software Foundation