Package org.cip4.jdflib.util.file
Class FileSorter
java.lang.Object
org.cip4.jdflib.util.file.FileSorter
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintsize()get the number of entries in this FileSorterFile[]sortLastModified(boolean bNewFirst) sort this by modification dateFile[]sortLastModified(boolean bNewFirst, long minAge) sort this by modification date
-
Constructor Details
-
FileSorter
- Parameters:
dir-
-
FileSorter
- Parameters:
list-
-
-
Method Details
-
sortLastModified
sort this by modification date- Parameters:
bNewFirst- , if true newest entries are first, else oldest entries- Returns:
- sort
-
sortLastModified
sort this by modification date- Parameters:
bNewFirst- , if true newest entries are first, else oldest entries- Returns:
- sort
-
size
public int size()get the number of entries in this FileSorter- Returns:
-