-
- /**
- * Attempt to call Povray to see if it's installed / available in path
- * @return true if found, false otherwise
- */
- public static boolean isPovrayInstalled()
- {
- return check("povray");
- }
+ /** Constant for Exiftool */
+ public static final int TOOL_EXIFTOOL = 0;
+ /** Constant for Gpsbabel */
+ public static final int TOOL_GPSBABEL = 1;
+ /** Constant for Gnuplot */
+ public static final int TOOL_GNUPLOT = 2;
+ /** Config keys in order that the tools are defined above */
+ private static final String[] CONFIG_KEYS = {Config.KEY_EXIFTOOL_PATH, Config.KEY_GPSBABEL_PATH, Config.KEY_GNUPLOT_PATH};
+ /** Verification flags for the tools in the order defined above */
+ private static final String[] VERIFY_FLAGS = {"-v", "-V", "-V"};