@Test public void runGhostScriptIncorrectOutputDirectory() throws IOException, InterruptedException { String inputPdf = sourceFolder + "imageHandlerUtilTest.pdf"; String exceptionMessage = "Cannot open output directory for " + inputPdf; junitExpectedException.expect(IllegalArgumentException.class); junitExpectedException.expectMessage(exceptionMessage); GhostscriptHelper ghostscriptHelper = new GhostscriptHelper(); ghostscriptHelper.runGhostScriptImageGeneration(inputPdf, "-", "outputPageImage.png", "1"); }
public void runGhostScriptImageGeneration(String pdf, String outDir, String image) throws IOException, InterruptedException { runGhostScriptImageGeneration(pdf, outDir, image, null); }
GhostscriptHelper { public void runGhostScriptImageGeneration(String pdf, String outDir, String image) throws IOException, InterruptedException { runGhostScriptImageGeneration(pdf, outDir, image, null); } }
GhostscriptHelper { public void runGhostScriptImageGeneration(String pdf, String outDir, String image) throws IOException, InterruptedException { runGhostScriptImageGeneration(pdf, outDir, image, null); } GhostscriptHelper();  GhostscriptHelper(String newGsExec); }
GhostscriptHelper { public void runGhostScriptImageGeneration(String pdf, String outDir, String image) throws IOException, InterruptedException { runGhostScriptImageGeneration(pdf, outDir, image, null); } GhostscriptHelper();  GhostscriptHelper(String newGsExec); String getCliExecutionCommand(); void runGhostScriptImageGeneration(String pdf, String outDir, String image); void runGhostScriptImageGeneration(String pdf, String outDir, String image, String pageList); }
GhostscriptHelper { public void runGhostScriptImageGeneration(String pdf, String outDir, String image) throws IOException, InterruptedException { runGhostScriptImageGeneration(pdf, outDir, image, null); } GhostscriptHelper();  GhostscriptHelper(String newGsExec); String getCliExecutionCommand(); void runGhostScriptImageGeneration(String pdf, String outDir, String image); void runGhostScriptImageGeneration(String pdf, String outDir, String image, String pageList); static final String GHOSTSCRIPT_ENVIRONMENT_VARIABLE; }