Constructor and Description |
---|
NativeDiff()
Creates new NativeDiff
|
Modifier and Type | Method and Description |
---|---|
boolean |
diff(File first,
File second,
File diff) |
boolean |
diff(String first,
String second,
String diff) |
String |
getCmdLine() |
void |
setCmdLine(String cmdLine) |
public void setCmdLine(String cmdLine)
public String getCmdLine()
public boolean diff(File first, File second, File diff) throws IOException
diff
in interface Diff
first
- first file to comparesecond
- second file to comparediff
- difference fileIOException
- if an I/O exception occurspublic boolean diff(String first, String second, String diff) throws IOException
diff
in interface Diff
first
- first file to comparesecond
- second file to comparediff
- difference fileIOException
- if an I/O exception occurs