public class CrawlableCatalog
extends java.lang.Object
implements thredds.crawlabledataset.CrawlableDataset
Constructor and Description |
---|
CrawlableCatalog(java.lang.String catalogURL,
java.lang.Object configObj)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists() |
java.lang.Object |
getConfigObject() |
thredds.crawlabledataset.CrawlableDataset |
getDescendant(java.lang.String relativePath) |
java.lang.String |
getName() |
thredds.crawlabledataset.CrawlableDataset |
getParentDataset() |
java.lang.String |
getPath() |
boolean |
isCollection() |
java.util.Date |
lastModified() |
long |
length() |
java.util.List<thredds.crawlabledataset.CrawlableDataset> |
listDatasets() |
java.util.List<thredds.crawlabledataset.CrawlableDataset> |
listDatasets(thredds.crawlabledataset.CrawlableDatasetFilter filter) |
public CrawlableCatalog(java.lang.String catalogURL, java.lang.Object configObj)
catalogURL
- the catalog URLconfigObj
- a JDOM Element, example:
OPENDAP
public java.lang.Object getConfigObject()
getConfigObject
in interface thredds.crawlabledataset.CrawlableDataset
public java.lang.String getPath()
getPath
in interface thredds.crawlabledataset.CrawlableDataset
public java.lang.String getName()
getName
in interface thredds.crawlabledataset.CrawlableDataset
public thredds.crawlabledataset.CrawlableDataset getParentDataset()
getParentDataset
in interface thredds.crawlabledataset.CrawlableDataset
public boolean exists()
exists
in interface thredds.crawlabledataset.CrawlableDataset
public boolean isCollection()
isCollection
in interface thredds.crawlabledataset.CrawlableDataset
public thredds.crawlabledataset.CrawlableDataset getDescendant(java.lang.String relativePath)
getDescendant
in interface thredds.crawlabledataset.CrawlableDataset
public java.util.List<thredds.crawlabledataset.CrawlableDataset> listDatasets() throws java.io.IOException
listDatasets
in interface thredds.crawlabledataset.CrawlableDataset
java.io.IOException
public java.util.List<thredds.crawlabledataset.CrawlableDataset> listDatasets(thredds.crawlabledataset.CrawlableDatasetFilter filter) throws java.io.IOException
listDatasets
in interface thredds.crawlabledataset.CrawlableDataset
java.io.IOException
public long length()
length
in interface thredds.crawlabledataset.CrawlableDataset
public java.util.Date lastModified()
lastModified
in interface thredds.crawlabledataset.CrawlableDataset