public class HTMLLanguageParser extends Object implements ParseFilter
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
X_POINT_ID| Constructor and Description |
|---|
HTMLLanguageParser() |
| Modifier and Type | Method and Description |
|---|---|
Parse |
filter(String url,
WebPage page,
Parse parse,
HTMLMetaTags metaTags,
DocumentFragment doc)
Scan the HTML document looking at possible indications of content language
1. |
Configuration |
getConf() |
Collection<WebPage.Field> |
getFields() |
void |
setConf(Configuration conf) |
public Parse filter(String url, WebPage page, Parse parse, HTMLMetaTags metaTags, DocumentFragment doc)
filter in interface ParseFilterpublic void setConf(Configuration conf)
setConf in interface Configurablepublic Configuration getConf()
getConf in interface Configurablepublic Collection<WebPage.Field> getFields()
getFields in interface FieldPluggableCopyright © 2015 The Apache Software Foundation