Package thredds.inventory
Interface CollectionSpecParserProvider
-
- All Known Implementing Classes:
CollectionSpecParserS3.Provider
public interface CollectionSpecParserProvider
A Service Provider ofCollectionSpecParserAbstract
.- Since:
- 5.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
canParse(String spec)
Determine if this provider can parse this collection specificationCollectionSpecParserAbstract
create(String rootDir, String regEx, Formatter errlog)
Create anCollectionSpecParserAbstract
from a given specCollectionSpecParserAbstract
create(String spec, Formatter errlog)
Creates aCollectionSpecParserAbstract
from a collection specificationString
getProtocol()
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 aCollectionSpecParserAbstract
from 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 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
-
-