public interface CollectionSpecParserProvider
CollectionSpecParserAbstract
.Modifier and Type | Method and Description |
---|---|
default boolean |
canParse(java.lang.String spec)
Determine if this provider can parse this collection specification
|
CollectionSpecParserAbstract |
create(java.lang.String spec,
java.util.Formatter errlog)
Creates a
CollectionSpecParserAbstract from a collection specification |
CollectionSpecParserAbstract |
create(java.lang.String rootDir,
java.lang.String regEx,
java.util.Formatter errlog)
Create an
CollectionSpecParserAbstract from a given spec |
java.lang.String |
getProtocol()
The leading protocol string (without a trailing ":").
|
java.lang.String getProtocol()
default boolean canParse(java.lang.String spec)
CollectionSpecParserAbstract create(java.lang.String spec, java.util.Formatter errlog)
CollectionSpecParserAbstract
from a collection specificationspec
- collection specificationerrlog
- put error messages here, may be nullCollectionSpecParserAbstract
CollectionSpecParserAbstract create(java.lang.String rootDir, java.lang.String regEx, java.util.Formatter errlog)
CollectionSpecParserAbstract
from a given specrootDir
- the root directory of the collection specificationregEx
- the regular expression of the collection specificationerrlog
- put error messages here, may be nullCollectionSpecParserAbstract