|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jaulp.file.compare.FileCompareResultBean
public class FileCompareResultBean
The Class FileCompareResultBean is pojo for comparing two files.
Field Summary | |
---|---|
protected java.io.File |
compare
The compare file. |
protected java.io.File |
source
The source file. |
Constructor Summary | |
---|---|
FileCompareResultBean(java.io.File source,
java.io.File compare)
Instantiates a new file compare result bean. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Returns true if this FileCompareResultBean is
the same as the o argument. |
boolean |
getAbsolutePathEquality()
Gets the absolute path equality. |
boolean |
getFileExtensionEquality()
Gets the file extension equality. |
java.io.File |
getFileToCompare()
Gets the file to compare. |
boolean |
getLastModifiedEquality()
Gets the last modified equality. |
boolean |
getLengthEquality()
Gets the length equality. |
boolean |
getNameEquality()
Gets the name equality. |
java.io.File |
getSourceFile()
Gets the source file. |
void |
setAbsolutePathEquality(java.lang.Boolean absolutePathEquality)
Sets the absolute path equality. |
void |
setFileExtensionEquality(java.lang.Boolean fileExtensionEquality)
Sets the file extension equality. |
void |
setLastModifiedEquality(java.lang.Boolean lastModifiedEquality)
Sets the last modified equality. |
void |
setLengthEquality(java.lang.Boolean lengthEquality)
Sets the length equality. |
void |
setNameEquality(java.lang.Boolean nameEquality)
Sets the name equality. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File source
protected java.io.File compare
Constructor Detail |
---|
public FileCompareResultBean(java.io.File source, java.io.File compare)
source
- the source file.compare
- the compare file.Method Detail |
---|
public boolean getAbsolutePathEquality()
getAbsolutePathEquality
in interface IFileCompareResultBean
IFileCompareResultBean.getAbsolutePathEquality()
public boolean getFileExtensionEquality()
getFileExtensionEquality
in interface IFileCompareResultBean
IFileCompareResultBean.getFileExtensionEquality()
public java.io.File getFileToCompare()
getFileToCompare
in interface IFileCompareResultBean
IFileCompareResultBean.getFileToCompare()
public boolean getLastModifiedEquality()
getLastModifiedEquality
in interface IFileCompareResultBean
IFileCompareResultBean.getLastModifiedEquality()
public boolean getLengthEquality()
getLengthEquality
in interface IFileCompareResultBean
IFileCompareResultBean.getLengthEquality()
public boolean getNameEquality()
getNameEquality
in interface IFileCompareResultBean
IFileCompareResultBean.getNameEquality()
public java.io.File getSourceFile()
getSourceFile
in interface IFileCompareResultBean
IFileCompareResultBean.getSourceFile()
public void setAbsolutePathEquality(java.lang.Boolean absolutePathEquality)
IFileCompareResultBean
setAbsolutePathEquality
in interface IFileCompareResultBean
absolutePathEquality
- the new absolute path equalitypublic void setFileExtensionEquality(java.lang.Boolean fileExtensionEquality)
setFileExtensionEquality
in interface IFileCompareResultBean
fileExtensionEquality
- the new file extension equalityIFileCompareResultBean.setFileExtensionEquality(java.lang.Boolean)
public void setLastModifiedEquality(java.lang.Boolean lastModifiedEquality)
setLastModifiedEquality
in interface IFileCompareResultBean
lastModifiedEquality
- the new last modified equalityIFileCompareResultBean.setLastModifiedEquality(java.lang.Boolean)
public void setLengthEquality(java.lang.Boolean lengthEquality)
setLengthEquality
in interface IFileCompareResultBean
lengthEquality
- the new length equalityIFileCompareResultBean.setLengthEquality(java.lang.Boolean)
public void setNameEquality(java.lang.Boolean nameEquality)
setNameEquality
in interface IFileCompareResultBean
nameEquality
- the new name equalityIFileCompareResultBean.setNameEquality(java.lang.Boolean)
public boolean equals(java.lang.Object o)
true
if this FileCompareResultBean
is
the same as the o argument.
equals
in class java.lang.Object
true
if this FileCompareResultBean
is
the same as the o argument.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |