Package thredds.inventory.s3
Class CollectionSpecParserS3.Provider
- java.lang.Object
-
- thredds.inventory.s3.CollectionSpecParserS3.Provider
-
- All Implemented Interfaces:
CollectionSpecParserProvider
- Enclosing class:
- CollectionSpecParserS3
public static class CollectionSpecParserS3.Provider extends Object implements CollectionSpecParserProvider
An S3 Service Provider ofCollectionSpecParserAbstract
.
-
-
Constructor Summary
Constructors Constructor Description Provider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionSpecParserAbstract
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 ":").-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface thredds.inventory.CollectionSpecParserProvider
canParse
-
-
-
-
Method Detail
-
getProtocol
public String getProtocol()
Description copied from interface:CollectionSpecParserProvider
The leading protocol string (without a trailing ":").- Specified by:
getProtocol
in interfaceCollectionSpecParserProvider
-
create
public CollectionSpecParserAbstract create(String spec, Formatter errlog)
Description copied from interface:CollectionSpecParserProvider
Creates aCollectionSpecParserAbstract
from a collection specification- Specified by:
create
in interfaceCollectionSpecParserProvider
- Parameters:
spec
- collection specificationerrlog
- put error messages here, may be null- Returns:
CollectionSpecParserAbstract
-
create
public CollectionSpecParserAbstract create(String rootDir, String regEx, Formatter errlog)
Description copied from interface:CollectionSpecParserProvider
Create anCollectionSpecParserAbstract
from a given spec- Specified by:
create
in interfaceCollectionSpecParserProvider
- 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
-
-