|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.connectivity.framework.crawler.web.http.SitemapParser
public class SitemapParser
This class handles the parsing of sitemap.xml files.
| Constructor Summary | |
|---|---|
SitemapParser(Configuration conf)
Creates new SitemapParser with the given configuration. |
|
| Method Summary | |
|---|---|
Configuration |
getConf()
Return the configuration used by this object. |
Outlink[] |
getSitemapLinks(HttpBase http,
java.net.URL url)
Returns a set of Outlinks extracted from sitemap.xml loc tag. |
void |
setConf(Configuration conf)
Set the configuration to be used by this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SitemapParser(Configuration conf)
conf - Configuration| Method Detail |
|---|
public void setConf(Configuration conf)
setConf in interface Configurableconf - Configurationpublic Configuration getConf()
getConf in interface Configurable
public Outlink[] getSitemapLinks(HttpBase http,
java.net.URL url)
Outlinks extracted from sitemap.xml loc tag.
http - HttpBase object used to fetch sitemap.xml file.url - URL to fetch site map for.
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||