java.lang.Object | |
↳ | com.pdftron.demo.utils.FileInfoComparator |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FileInfoComparator() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static Comparator<FileInfo> |
absolutePathOrder()
Sorts by absolute file path asc (a to z, within each directory)
| ||||||||||
static Comparator<ExternalFileInfo> |
externalDateOrder()
Sort by alphabetical order, folders first.
| ||||||||||
static Comparator<ExternalFileInfo> |
externalPathOrder()
Sort by alphabetical order, folders first.
| ||||||||||
static Comparator<FileInfo> |
fileNameOrder()
Sorts by filename asc (a to z)
| ||||||||||
static Comparator<FileInfo> |
folderDateOrder()
Sort by absolute path asc
| ||||||||||
static Comparator<FileInfo> |
folderPathOrder()
Sort by absolute path asc
| ||||||||||
static Comparator<FileInfo> |
modifiedDateOrder()
Sorts by modified date desc (newest first)
| ||||||||||
static Comparator<FileInfo> |
modifiedDateOrderOnly()
Sorts by modified date desc (newest first)
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Sorts by absolute file path asc (a to z, within each directory)
Sort by alphabetical order, folders first.
Sort by alphabetical order, folders first.
Sorts by modified date desc (newest first)