Package thredds.inventory
Interface CollectionSpecParserProvider
-
public interface CollectionSpecParserProviderA Service Provider ofCollectionSpecParserAbstract.- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancanParse(String spec)Determine if this provider can parse this collection specificationCollectionSpecParserAbstractcreate(String rootDir, String regEx, Formatter errlog)Create anCollectionSpecParserAbstractfrom a given specCollectionSpecParserAbstractcreate(String spec, Formatter errlog)Creates aCollectionSpecParserAbstractfrom a collection specificationStringgetProtocol()The leading protocol string (without a trailing ":").
-
-
-
Method Detail
-
getProtocol
String getProtocol()
The leading protocol string (without a trailing ":").
-
canParse
default boolean canParse(String spec)
Determine if this provider can parse this collection specification
-
create
CollectionSpecParserAbstract create(String spec, Formatter errlog)
Creates aCollectionSpecParserAbstractfrom a collection specification- Parameters:
spec- collection specificationerrlog- put error messages here, may be null- Returns:
CollectionSpecParserAbstract
-
create
CollectionSpecParserAbstract create(String rootDir, String regEx, Formatter errlog)
Create anCollectionSpecParserAbstractfrom 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
-
-