org.cip4.jdflib.util.file
Class FileSorter
java.lang.Object
org.cip4.jdflib.util.file.FileSorter
public class FileSorter
- extends Object
- Author:
- Rainer Prosi, Heidelberger Druckmaschinen *
|
Method Summary |
int |
size()
get the number of entries in this FileSorter |
File[] |
sortLastModified(boolean bNewFirst)
sort this by modification date |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSorter
public FileSorter(File dir)
- Parameters:
dir -
FileSorter
public FileSorter(File[] list)
- Parameters:
list -
sortLastModified
public File[] sortLastModified(boolean bNewFirst)
- 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:
Copyright © 2013. All Rights Reserved.