Package thredds.inventory
Class CollectionSingleIndexFile
- java.lang.Object
-
- thredds.inventory.CollectionAbstract
-
- thredds.inventory.CollectionList
-
- thredds.inventory.CollectionSingleFile
-
- thredds.inventory.CollectionSingleIndexFile
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,MCollection
public class CollectionSingleIndexFile extends CollectionSingleFile
Collection from a Single Index File. Used by GribCdmIndex.updateGribCollectionFromPCollection() to distinguish from regular file- Since:
- 2/6/14
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class thredds.inventory.CollectionAbstract
CollectionAbstract.DateSorter, CollectionAbstract.MyStreamFilter
-
-
Field Summary
-
Fields inherited from class thredds.inventory.CollectionList
mfiles
-
Fields inherited from class thredds.inventory.CollectionAbstract
auxInfo, CATALOG, collectionName, dateExtractor, DIR, FILE, GLOB, lastModified, LIST, logger, protoChoice, root, sfilter, startCollection
-
-
Constructor Summary
Constructors Constructor Description CollectionSingleIndexFile(MFile file, org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getIndexFilename(String suffix)
-
Methods inherited from class thredds.inventory.CollectionList
close, getFileIterator, getFilesSorted
-
Methods inherited from class thredds.inventory.CollectionAbstract
cleanName, extractDate, getAuxInfo, getCollectionName, getFilenames, getLastModified, getLatestFile, getPartitionDate, getProtoIndex, getRoot, hasDateExtractor, makeFileListSorted, open, parseOlderThanString, putAuxInfo, setDateExtractor, setRoot, setStreamFilter
-
-
-
-
Constructor Detail
-
CollectionSingleIndexFile
public CollectionSingleIndexFile(MFile file, org.slf4j.Logger logger)
-
-
Method Detail
-
getIndexFilename
public String getIndexFilename(String suffix)
- Specified by:
getIndexFilename
in interfaceMCollection
- Overrides:
getIndexFilename
in classCollectionAbstract
-
-