public class VersusCompare extends Object
Constructor and Description |
---|
VersusCompare() |
Modifier and Type | Method and Description |
---|---|
static double |
compare(String filename1,
String filename2)
Compare two files.
|
static Double |
compare(String filename1,
String filename2,
String adapter_name,
String extractor_name,
String measure_name)
Compare two files.
|
static String |
getType(String filename)
Get the data type of the given file based on its extension.
|
static void |
main(String[] args)
Compare two files.
|
public static String getType(String filename)
filename
- a file namepublic static Double compare(String filename1, String filename2, String adapter_name, String extractor_name, String measure_name)
filename1
- the name of the first filefilename2
- the name of the second fileadapter_name
- the name of the desired adapter (can be null)extractor_name
- the name of the desired extractor (can be null)measure_name
- the name of the desired measure (can be null)public static double compare(String filename1, String filename2)
filename1
- the name of the first filefilename2
- the name of the second filepublic static void main(String[] args)
args
- the names of the two files to compareCopyright © 2014. All rights reserved.