3 import java.io.IOException;
7 * Class to manage interfaces to external tools, like exiftool
9 public abstract class ExternalTools
13 * Attempt to call Povray to see if it's installed / available in path
14 * @return true if found, false otherwise
16 public static boolean isPovrayInstalled()
20 Runtime.getRuntime().exec("povray");
23 catch (IOException ioe)
25 // exception thrown, povray not found
32 * Attempt to call Exiftool to see if it's installed / available in path
33 * @return true if found, false otherwise
35 public static boolean isExiftoolInstalled()
39 Runtime.getRuntime().exec("exiftool -v");
42 catch (IOException ioe)
44 // exception thrown, exiftool not found