public abstract class DuplicityCheckingFile extends Object
Modifier and Type | Method and Description |
---|---|
void |
delete()
Deletes the file from filesystem.
|
abstract String |
getFilename()
Returns the filename corresponding to this file.
|
String |
getLocation() |
File |
getOut() |
boolean |
hasTheSameContent(DuplicityCheckingFile file,
DuplicityCheckingFileElement element1,
DuplicityCheckingFileElement element2)
Checks if two files has the same content.
|
String |
toString() |
public String getLocation()
public File getOut()
public void delete()
public abstract String getFilename()
public boolean hasTheSameContent(DuplicityCheckingFile file, DuplicityCheckingFileElement element1, DuplicityCheckingFileElement element2)
file
- the second file to be testedelement1
- instance of the class from which the file consistselement2
- instance of the class from which the file consistsCopyright © 2016 Egothor. All Rights Reserved.