◆ main()
static void fiftyone.devicedetection.examples.Comparison.main | ( | String [] | args | ) | throws Exception |
Instantiates this class and starts runComparisons(String, String, String, String, String, int) with parameters from the command line.
When run from the command line the first and last file arguments must be a file of User-Agents and the file that the comparison results will be written to. Files between the first and last file are optional and provide the FiftyOneDegrees, WURFL and DeviceAtlas data files. A final optional argument of type integer can be provided to determine the number of concurrent threads to use during processing if the provider supports multi threaded operation.
- Parameters
-
- args - command line arguments.
- Exceptions
-
- IOException - if the data file cannot be accessed.
- InterruptedException - if the comparison threads are interrupted.