Package thredds.catalog.util
Class CatalogUtils
- java.lang.Object
-
- thredds.catalog.util.CatalogUtils
-
public class CatalogUtils extends Object
_more_- Since:
- 4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
escapePathForURL(String path)
static List<InvCatalogRef>
findAllCatRefsInDatasetTree(List<InvDataset> datasets, StringBuilder log, boolean onlyRelativeUrls)
Find all catalogRef elements in the dataset tree formed by the given dataset list.
-
-
-
Method Detail
-
findAllCatRefsInDatasetTree
public static List<InvCatalogRef> findAllCatRefsInDatasetTree(List<InvDataset> datasets, StringBuilder log, boolean onlyRelativeUrls)
Find all catalogRef elements in the dataset tree formed by the given dataset list.- Parameters:
datasets
- the list of datasets from which to find all the catalogRefslog
- StringBuilder into which any messages will be writtenonlyRelativeUrls
- only include catalogRefs with relative HREF URLs if true, otherwise include all catalogRef datasets- Returns:
- the list of catalogRef datasets
-
-