Package daikon.tools
Class DtraceDiff
- Object
-
- DtraceDiff
-
public class DtraceDiff extends Object
This tool is used to find the differences between two dtrace files based on analysis of the files' content, rather than a straight textual comparison.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DtraceDiff.DiffError
Exception thrown for diffs.
-
Constructor Summary
Constructors Constructor Description DtraceDiff()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
dtraceDiff(Set<File> declsfile1, String dtracefile1, Set<File> declsfile2, String dtracefile2)
static void
main(String[] args)
static void
mainHelper(String[] args)
This does the work ofmain(String[])
, but it never calls System.exit, so it is appropriate to be called progrmmatically.static boolean
mainTester(String[] args)
This entry point is useful for testing.
-
-
-
Constructor Detail
-
DtraceDiff
public DtraceDiff()
-
-
Method Detail
-
mainTester
public static boolean mainTester(String[] args)
This entry point is useful for testing. It returns a boolean to indicate return status instead of croaking with an error.- Parameters:
args
- command-line arguments, like those ofmainHelper(java.lang.String[])
andmain(java.lang.String[])
- Returns:
- true if DtraceDiff completed without an error
-
mainHelper
public static void mainHelper(String[] args)
This does the work ofmain(String[])
, but it never calls System.exit, so it is appropriate to be called progrmmatically.- Parameters:
args
- command-line arguments, like those ofmain(java.lang.String[])
-
-