public class CollectionPathMatcher extends CollectionAbstract
CollectionAbstract.DateSorter, CollectionAbstract.MyStreamFilter| Modifier and Type | Field and Description | 
|---|---|
protected FeatureCollectionConfig | 
config  | 
auxInfo, CATALOG, collectionName, dateExtractor, DIR, FILE, GLOB, lastModified, LIST, logger, protoChoice, root, sfilter, startCollection| Constructor and Description | 
|---|
CollectionPathMatcher(FeatureCollectionConfig config,
                     CollectionSpecParserAbstract specp,
                     org.slf4j.Logger logger)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Close and release any resources. 
 | 
CloseableIterator<MFile> | 
getFileIterator()
Get the current collection of MFile, no guaranteed order. 
 | 
java.lang.Iterable<MFile> | 
getFilesSorted()
Get the current collection of MFile. 
 | 
cleanName, extractDate, getAuxInfo, getCollectionName, getFilenames, getIndexFilename, getLastModified, getLatestFile, getPartitionDate, getProtoIndex, getRoot, hasDateExtractor, makeFileListSorted, open, parseOlderThanString, putAuxInfo, setDateExtractor, setRoot, setStreamFilterprotected final FeatureCollectionConfig config
public CollectionPathMatcher(FeatureCollectionConfig config, CollectionSpecParserAbstract specp, org.slf4j.Logger logger)
public void close()
MCollectionpublic java.lang.Iterable<MFile> getFilesSorted() throws java.io.IOException
MCollectionjava.io.IOExceptionpublic CloseableIterator<MFile> getFileIterator() throws java.io.IOException
MCollectiontry (CloseableIteratoriter = getFileIterator()) { while (iter.hasNext()) { MFile file = iter.next(); } } 
java.io.IOException