Package de.mhus.lib.core.util
Class CompareDirEntry
- java.lang.Object
-
- de.mhus.lib.core.util.CompareDirEntry
-
public abstract class CompareDirEntry extends Object
-
-
Constructor Summary
Constructors Constructor Description CompareDirEntry()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleancompareWithEntry(CompareDirEntry other)Compare with the other entry.StringextractPath(String path)StringgetParentPath(String path)abstract booleanisFolder()
-
-
-
Method Detail
-
isFolder
public abstract boolean isFolder()
-
compareWithEntry
public abstract boolean compareWithEntry(CompareDirEntry other)
Compare with the other entry. If the entries are not differed (not changed) return true. Otherwise return false. Usually compare size, MD5 and/or modify date.- Parameters:
other-- Returns:
- true if equals
-
-