|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CatalogBuilder
An interface for building catalogs where each instance only builds catalogs for the dataset collection root it was setup to handle.
| Method Summary | |
|---|---|
InvCatalogImpl |
generateCatalog(CrawlableDataset catalogCrDs)
Return an InvCatalog for the level in the collection hierarchy specified by catalogPath. |
org.jdom.Document |
generateCatalogAsDocument(CrawlableDataset catalogCrDs)
Return a JDOM Document representation of the catalog for the level in the collection hierarchy specified by catalogPath. |
java.lang.String |
generateCatalogAsString(CrawlableDataset catalogCrDs)
Return a String containing the XML representation of the catalog for the level in the collection hierarchy specified by catalogPath. |
InvCatalogImpl |
generateProxyDsResolverCatalog(CrawlableDataset catalogCrDs,
ProxyDatasetHandler pdh)
Generate the catalog for a resolver request of the given ProxyDatasetHandler. |
CrawlableDataset |
requestCrawlableDataset(java.lang.String path)
Return the CrawlableDataset for the given path, null if this CatalogBuilder does not allow the requested CrawlableDataset. |
| Method Detail |
|---|
CrawlableDataset requestCrawlableDataset(java.lang.String path)
throws java.io.IOException
This method can handle requests for regular datasets and proxy datasets.
path - the path of the requested CrawlableDataset
java.io.IOException - if an I/O error occurs while locating the children datasets.
InvCatalogImpl generateCatalog(CrawlableDataset catalogCrDs)
throws java.io.IOException
catalogCrDs - the location in the collection at which to generate a catalog
java.io.IOException - if problems accessing the dataset collection.
InvCatalogImpl generateProxyDsResolverCatalog(CrawlableDataset catalogCrDs,
ProxyDatasetHandler pdh)
throws java.io.IOException
catalogCrDs - the location in the collection at which to generate a catalogpdh - the ProxyDatasetHandler corresponding to the resolver request.
java.lang.IllegalArgumentException - if the given ProxyDatasetHandler is not known by this CollectionLevelScanner.
java.io.IOException
org.jdom.Document generateCatalogAsDocument(CrawlableDataset catalogCrDs)
throws java.io.IOException
catalogCrDs - the location in the collection at which to generate a catalog
java.io.IOException - if problems accessing the dataset collection.
java.lang.String generateCatalogAsString(CrawlableDataset catalogCrDs)
throws java.io.IOException
catalogCrDs - the location in the collection at which to generate a catalog
java.io.IOException - if problems accessing the dataset collection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||