站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

NativeDiff (NB JUnit) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.nbjunit/1 1.41

org.netbeans.junit.diff
Class NativeDiff

java.lang.Object
  extended by org.netbeans.junit.diff.NativeDiff
All Implemented Interfaces:
Diff

public class NativeDiff
extends Object
implements Diff

Implementation of native OS diff.


Constructor Summary
NativeDiff()
          Creates new NativeDiff
 
Method Summary
 boolean diff(File first, File second, File diff)
           
 boolean diff(String first, String second, String diff)
           
 String getCmdLine()
           
 void setCmdLine(String cmdLine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeDiff

public NativeDiff()
Creates new NativeDiff

Method Detail

setCmdLine

public void setCmdLine(String cmdLine)

getCmdLine

public String getCmdLine()

diff

public boolean diff(File first,
                    File second,
                    File diff)
             throws IOException
Specified by:
diff in interface Diff
Parameters:
first - first file to compare
second - second file to compare
diff - difference file
Returns:
true iff files differ
Throws:
IOException

diff

public boolean diff(String first,
                    String second,
                    String diff)
             throws IOException
Specified by:
diff in interface Diff
Parameters:
first - first file to compare
second - second file to compare
diff - difference file
Returns:
true iff files differ
Throws:
IOException

org.netbeans.modules.nbjunit/1 1.41

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.