thredds.catalog
Class InvDatasetFeatureCollection
java.lang.Object
thredds.catalog.InvDataset
thredds.catalog.InvDatasetImpl
thredds.catalog.InvCatalogRef
thredds.catalog.InvDatasetFeatureCollection
@ThreadSafe
public class InvDatasetFeatureCollection
- extends InvCatalogRef
Feature Collection (experimental).
Like InvDatasetFmrc, this is a InvCatalogRef subclass. So the reference is placed in the parent, but
the catalog itself isnt constructed until the following call from DataRootHandler.makeDynamicCatalog():
match.dataRoot.featCollection.makeCatalog(match.remaining, path, baseURI);
Generate anew each call; use object caching if needed to improve efficiency
- Since:
- Mar 3, 2010
- Author:
- caron
| Methods inherited from class thredds.catalog.InvCatalogRef |
equals, findDatasetByName, findProperty, findService, finish, getAccess, getAccess, getAlias, getAuthority, getCollectionType, getContributors, getCreators, getDataFormatType, getDataType, getDates, getDocumentation, getDocumentation, getFullName, getGeospatialCoverage, getID, getKeywords, getMetadata, getMetadata, getName, getParent, getProjects, getProperties, getProxyDataset, getPublishers, getServiceDefault, getTimeCoverage, getUniqueID, getURI, getUrlPath, getUserProperty, getVariables, getXlinkHref, hasAccess, hashCode, hasNestedDatasets, isHarvest, isRead, readAsynch, release, setXlinkHref |
| Methods inherited from class thredds.catalog.InvDatasetImpl |
addAccess, addAccess, addDataset, addDataset, addDocumentation, addProperty, addService, dump, getAccessLocal, getDataSize, getLastModifiedDate, getLocalMetadata, getLocalMetadataInheritable, getNcmlElement, getParentReal, getServiceName, getServicesLocal, main, removeDataset, removeLocalMetadata, removeService, replaceDataset, resolve, setAlias, setAuthority, setCatalog, setCollectionType, setContributors, setDataFormatType, setDataSize, setDataType, setGeospatialCoverage, setHarvest, setID, setKeywords, setLastModifiedDate, setLastModifiedDate, setLocalMetadata, setName, setNcmlElement, setParent, setProjects, setPublishers, setResourceControl, setServiceName, setServicesLocal, setTimeCoverage, setUrlPath, setUserProperty, toString, transferMetadata, writeHtmlDescription, writeHtmlDescription |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
InvDatasetFeatureCollection
public InvDatasetFeatureCollection(InvDatasetImpl parent,
java.lang.String name,
java.lang.String path,
java.lang.String featureType,
thredds.inventory.FeatureCollectionConfig.Config config)
getPath
public java.lang.String getPath()
getTopDirectoryLocation
public java.lang.String getTopDirectoryLocation()
getConfig
public thredds.inventory.FeatureCollectionConfig.Config getConfig()
getRawFileScan
public InvDatasetScan getRawFileScan()
getDatasets
public java.util.List<InvDataset> getDatasets()
- Description copied from class:
InvCatalogRef
- Get a list of all the nested datasets.
- Overrides:
getDatasets in class InvCatalogRef
- Returns:
- Datasets. This triggers a read of the referenced catalog the first time its called.
triggerRescan
public void triggerRescan()
throws java.io.IOException
- Throws:
java.io.IOException
triggerProto
public void triggerProto()
throws java.io.IOException
- Throws:
java.io.IOException
makeCatalog
public InvCatalogImpl makeCatalog(java.lang.String match,
java.lang.String orgPath,
java.net.URI baseURI)
getNetcdfDataset
public NetcdfDataset getNetcdfDataset(java.lang.String matchPath)
throws java.io.IOException
- Get the dataset named by the path
- Parameters:
matchPath - remaining path from match
- Returns:
- requested dataset
- Throws:
java.io.IOException - if read error
getGridDataset
public GridDataset getGridDataset(java.lang.String matchPath)
throws java.io.IOException
- Throws:
java.io.IOException
getFile
public java.io.File getFile(java.lang.String remaining)