Package thredds.core
Class CatalogManager
java.lang.Object
thredds.core.CatalogManager
Provides an API to find a catalog from its path. Handles static and dynamic catalogs.
- Since:
- 6/7/2015
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionthredds.client.catalog.CataloggetCatalog(String path, URI baseURI) If a catalog exists and is allowed (not filtered out) for the given path, return the catalog as a Catalog.
-
Constructor Details
-
CatalogManager
public CatalogManager()
-
-
Method Details
-
getCatalog
If a catalog exists and is allowed (not filtered out) for the given path, return the catalog as a Catalog. Otherwise, return null.The validity of the returned catalog is not guaranteed. Use Catalog.check() to check that the catalog is valid.
- Parameters:
path- the path for the requested catalog.baseURI- the base URI for the catalog, used to resolve relative URLs.- Returns:
- the requested Catalog, or null if catalog does not exist or is not allowed.
- Throws:
IOException
-