@Test public void runGhostScriptTestForSpecificPage() throws IOException, InterruptedException { String inputPdf = sourceFolder + "imageHandlerUtilTest.pdf"; GhostscriptHelper ghostscriptHelper = new GhostscriptHelper(); ghostscriptHelper.runGhostScriptImageGeneration(inputPdf, destinationFolder, "specificPage.png", "1"); Assert.assertEquals(1, FileUtil.listFilesInDirectory(destinationFolder, true).length); Assert.assertTrue(FileUtil.fileExists(destinationFolder + "specificPage.png")); }
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; }