public class CollectionSpecParserS3 extends CollectionSpecParserAbstract
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionSpecParserS3.Provider
An S3 Service Provider of
CollectionSpecParserAbstract. |
dateFormatMark, delimiter, filter, filterOnName, fragment, rootDir, spec, subdirs| 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)
Get the full path for a file
|
getDateFormatMark, getDateFormatMark, getDelimiter, getFilter, getFilterAndDateMark, getFilterOnName, getFragment, getPathMatcher, getRegEx, getRootDir, getRootDir, splitOnLastDelimiter, toString, wantSubdirspublic 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)
CollectionSpecParserAbstractgetFilePath in class CollectionSpecParserAbstractfilename - the file name