Package thredds.server.catalog
Class DataRoot
- java.lang.Object
-
- thredds.server.catalog.DataRoot
-
@Immutable public class DataRoot extends Object
A DataRoot matches URLs to the objects that can serve them. A DataRootPathMatcher manages a hash tree of path -> DataRoot Possible design: catKey : which catalog defined this? not present at the moment directory : if its a simple DataRoot fc : prob is this drags in entire configCat dscan : ditto- Since:
- 1/23/2015
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataRoot.Type
-
Constructor Summary
Constructors Constructor Description DataRoot(String path, String dirLocation, String restrict)DataRoot(CatalogScan catScan)DataRoot(DatasetScan scan)DataRoot(FeatureCollectionRef featCollection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Instances which have same path are equal.CatalogScangetCatalogScan()DatasetScangetDatasetScan()StringgetDirLocation()FeatureCollectionRefgetFeatureCollection()StringgetFileLocationFromRequestPath(String reqPath)StringgetName()StringgetPath()StringgetRestrict()DataRoot.TypegetType()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DataRoot
public DataRoot(FeatureCollectionRef featCollection)
-
DataRoot
public DataRoot(DatasetScan scan)
-
DataRoot
public DataRoot(CatalogScan catScan)
-
-
Method Detail
-
getPath
public String getPath()
-
getDirLocation
public String getDirLocation()
-
getType
public DataRoot.Type getType()
-
getDatasetScan
public DatasetScan getDatasetScan()
-
getCatalogScan
public CatalogScan getCatalogScan()
-
getFeatureCollection
public FeatureCollectionRef getFeatureCollection()
-
getName
public String getName()
-
getRestrict
public String getRestrict()
-
equals
public boolean equals(Object o)
Instances which have same path are equal.
-
-