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 ParseFilter
public void setConf(Configuration conf)
setConf
in interface Configurable
public Configuration getConf()
getConf
in interface Configurable
public Collection<WebPage.Field> getFields()
getFields
in interface FieldPluggable
Copyright © 2015 The Apache Software Foundation