@Component(value="CatalogManager") public class CatalogManager extends Object
| Constructor and Description |
|---|
CatalogManager() |
| Modifier and Type | Method and Description |
|---|---|
thredds.client.catalog.Catalog |
getCatalog(String path,
URI baseURI)
If a catalog exists and is allowed (not filtered out) for the given path, return
the catalog as an Catalog.
|
public thredds.client.catalog.Catalog getCatalog(String path, URI baseURI) throws IOException
The validity of the returned catalog is not guaranteed. Use Catalog.check() to check that the catalog is valid.
path - the path for the requested catalog.baseURI - the base URI for the catalog, used to resolve relative URLs.IOException