public class FilePartition extends DirectoryCollection implements PartitionManager
DirectoryCollection.Visitor
CollectionAbstract.DateSorter, CollectionAbstract.MyStreamFilter
auxInfo, CATALOG, collectionName, dateExtractor, DIR, FILE, GLOB, lastModified, LIST, logger, NCX_SUFFIX, protoChoice, root, sfilter, startCollection
Constructor and Description |
---|
FilePartition(java.lang.String topCollectionName,
java.nio.file.Path topDir,
boolean isTop,
java.lang.String olderThan,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<MCollection> |
makePartitions(CollectionUpdateType forceCollection) |
void |
removePartition(MCollection partition) |
close, getFileIterator, getFilesSorted, getIndexFilename, getRoot, iterateOverMFileCollection, makeCollectionIndexPath, makeCollectionName
cleanName, extractDate, getAuxInfo, getCollectionName, getFilenames, getLastModified, getLatestFile, getPartitionDate, getProtoIndex, hasDateExtractor, makeFileListSorted, open, parseOlderThanString, putAuxInfo, setDateExtractor, setRoot, setStreamFilter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, extractDate, getAuxInfo, getCollectionName, getFileIterator, getFilenames, getFilesSorted, getIndexFilename, getLastModified, getLatestFile, getPartitionDate, getProtoIndex, getRoot, hasDateExtractor, putAuxInfo
public FilePartition(java.lang.String topCollectionName, java.nio.file.Path topDir, boolean isTop, java.lang.String olderThan, org.slf4j.Logger logger)
public java.lang.Iterable<MCollection> makePartitions(CollectionUpdateType forceCollection) throws java.io.IOException
makePartitions
in interface PartitionManager
java.io.IOException
public void removePartition(MCollection partition)
removePartition
in interface PartitionManager