public class CollectionSpecParserS3
extends thredds.inventory.CollectionSpecParserAbstract
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionSpecParserS3.Provider
An S3 Service Provider of
CollectionSpecParserAbstract. |
| Modifier and Type | Method and Description |
|---|---|
static CollectionSpecParserS3 |
create(java.lang.String collectionSpec,
java.util.Formatter errlog)
Example spec: "cdms3:top-bucket/directory/#dateFormatMark#regExp#delimiter=/"
This only allows the dateFormatMark to be in the file name, not anywhere else in the filename path,
and you can't use any part of the dateFormat to filter on.
|
static CollectionSpecParserS3 |
create(java.lang.String rootDir,
java.lang.String regExp,
java.util.Formatter errlog) |
java.lang.String |
getFilePath(java.lang.String filename) |
public static CollectionSpecParserS3 create(java.lang.String collectionSpec, java.util.Formatter errlog)
collectionSpec - the collection specerrlog - put error messages here, may be nullCollectionSpecParserS3public static CollectionSpecParserS3 create(java.lang.String rootDir, java.lang.String regExp, java.util.Formatter errlog)
rootDir - the root directoryregExp - the regular expression to use as a filtererrlog - put error messages here, may be nullCollectionSpecParserS3public java.lang.String getFilePath(java.lang.String filename)
getFilePath in class thredds.inventory.CollectionSpecParserAbstract