public class RangeNamedFiles
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
RangeNamedFiles() |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
doesfileNameRangeOverlap(java.io.File file,
long min,
long max) |
static java.util.List<java.io.File> |
getOrderedFilesEnclosedInRange(java.nio.file.Path segmentPath,
Range range) |
static java.util.List<java.io.File> |
getOrderedFilesInRange(java.nio.file.Path segmentPath,
Range range) |
static java.lang.String |
getRangeFileName(long groupingValue,
long multiple) |
protected static boolean |
isFileNameRangeEnclosed(java.io.File file,
long min,
long max) |
static void |
sortByRange(java.util.List<java.io.File> files) |
public static java.util.List<java.io.File> getOrderedFilesEnclosedInRange(java.nio.file.Path segmentPath, Range range)
protected static boolean isFileNameRangeEnclosed(java.io.File file, long min, long max)
protected static boolean doesfileNameRangeOverlap(java.io.File file, long min, long max)
public static void sortByRange(java.util.List<java.io.File> files)
public static java.lang.String getRangeFileName(long groupingValue, long multiple)
public static java.util.List<java.io.File> getOrderedFilesInRange(java.nio.file.Path segmentPath, Range range)