public interface AQFileDifferences
Modifier and Type | Method and Description |
---|---|
void |
addSortingByDateAscending()
Adds sorting by file date in ascending order.
|
void |
addSortingByDateDescending()
Adds sorting by file date in descending order.
|
void |
addSortingByNameAscending()
Adds sorting by file name in ascending order.
|
void |
addSortingByNameDescending()
Adds sorting by file name in descending order.
|
void |
addSortingBySizeAscending()
Adds sorting by file size in ascending order.
|
void |
addSortingBySizeDescending()
Adds sorting by file size in descending order.
|
void |
clearSorting()
Removes all sorting criteria.
|
File[] |
getAddedFiles()
Returns an array added files, which exist on the left side only.
|
File[] |
getDeletedFiles()
Returns an array of deleted files, which exist on the right side only.
|
File[] |
getModifiedFiles()
Returns an array of modified files - files that exist on both left and right sides,
but determined to be different according to the set criteria.
|
File[] |
getUnchangedFiles()
Returns an array of unchanged files - files that exist on both left and right sides,
but determined to be unchanged according to the set criteria.
|
boolean |
hasChanges()
Returns true if comparison detected any number of changes according to the set criteria.
|
void |
sort()
Sorts the result using criteria set with addSorting...
|
void addSortingByNameAscending()
sort()
to actually sort the data.void addSortingByNameDescending()
sort()
to actually sort the data.void addSortingBySizeAscending()
sort()
to actually sort the data.void addSortingBySizeDescending()
sort()
to actually sort the data.void addSortingByDateAscending()
sort()
to actually sort the data.void addSortingByDateDescending()
sort()
to actually sort the data.void clearSorting()
sort()
to actually sort the data.void sort()
boolean hasChanges()
File[] getAddedFiles()
File[] getDeletedFiles()
File[] getModifiedFiles()
File[] getUnchangedFiles()
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.