|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjtools.FileComparison
public class FileComparison
Compares the contents of two files and returns true
if they are the same length and contain exactly the
same data. Otherwise returns false.
| Constructor Summary | |
|---|---|
FileComparison()
Constructor for FileComparison. |
|
| Method Summary | |
|---|---|
boolean |
compare(java.lang.String f1,
java.lang.String f2)
Determines whether two files contain the same contents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileComparison()
FileComparison.
| Method Detail |
|---|
public boolean compare(java.lang.String f1,
java.lang.String f2)
throws java.io.IOException
f1 - a file name path stringf2 - a file name path string
boolean true or false
java.io.IOException
|
XCMS Toolkit | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||