Package thredds.inventory
Class CollectionSpecParsers
- java.lang.Object
-
- thredds.inventory.CollectionSpecParsers
-
public class CollectionSpecParsers extends Object
Static helper methods for CollectionSpecParserAbstract objects.- Since:
- 5.4
-
-
Constructor Summary
Constructors Constructor Description CollectionSpecParsers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CollectionSpecParserAbstract
create(String rootDir, String regEx, Formatter errlog)
Create anCollectionSpecParserAbstract
from a given specstatic CollectionSpecParserAbstract
create(String spec, Formatter errlog)
Create anCollectionSpecParserAbstract
from a given spec
-
-
-
Method Detail
-
create
public static CollectionSpecParserAbstract create(String spec, Formatter errlog)
Create anCollectionSpecParserAbstract
from a given spec- Parameters:
spec
- the collection specification to parseerrlog
- put error messages here, may be null- Returns:
CollectionSpecParserAbstract
-
create
public static CollectionSpecParserAbstract create(String rootDir, String regEx, Formatter errlog)
Create anCollectionSpecParserAbstract
from a given spec- Parameters:
rootDir
- the root directory of the collection specificationregEx
- the regular expression of the collection specificationerrlog
- put error messages here, may be null- Returns:
CollectionSpecParserAbstract
-
-