SMILA 1.0 API documentation

org.eclipse.smila.connectivity.framework.crawler.web.fetcher
Class FetcherOutput

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.crawler.web.configuration.Configured
      extended by org.eclipse.smila.connectivity.framework.crawler.web.fetcher.FetcherOutput
All Implemented Interfaces:
Configurable

public final class FetcherOutput
extends Configured

A result of Fetcher job.


Field Summary
 
Fields inherited from class org.eclipse.smila.connectivity.framework.crawler.web.configuration.Configured
_configuration
 
Constructor Summary
FetcherOutput()
          Empty constructor.
FetcherOutput(Content content, Parse parse, Outlink[] sitemapLinks)
          Creates new object with the given configuration.
 
Method Summary
 boolean equals(java.lang.Object o)
          
 Content getContent()
          Returns page information in the Content format.
 Parse getParse()
          Returns result of raw content parsing.
 Outlink[] getSitemapLinks()
          Returns the array of links extracted from sitemap.xml file.
 int hashCode()
          
 void setSitemapLinks(Outlink[] links)
          Assigns the array of links extracted from sitemap.xml file.
 
Methods inherited from class org.eclipse.smila.connectivity.framework.crawler.web.configuration.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetcherOutput

public FetcherOutput()
Empty constructor.


FetcherOutput

public FetcherOutput(Content content,
                     Parse parse,
                     Outlink[] sitemapLinks)
Creates new object with the given configuration.

Parameters:
content - Content for output
parse - Result of parsing raw page content
sitemapLinks - Outlinks extracted from sitemap.xml file
Method Detail

getContent

public Content getContent()
Returns page information in the Content format.

Returns:
Content

getParse

public Parse getParse()
Returns result of raw content parsing.

Returns:
Parse

equals

public boolean equals(java.lang.Object o)

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

getSitemapLinks

public Outlink[] getSitemapLinks()
Returns the array of links extracted from sitemap.xml file.

Returns:
Outlink array

setSitemapLinks

public void setSitemapLinks(Outlink[] links)
Assigns the array of links extracted from sitemap.xml file.

Parameters:
links - Outlink array

SMILA 1.0 API documentation