Class PdfTestScenarioServices
- java.lang.Object
-
- step.plugins.pdftest.services.atomic.PdfTestScenarioServices
-
public class PdfTestScenarioServices extends Object
-
-
Constructor Summary
Constructors Constructor Description PdfTestScenarioServices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Mask>
generateMaskList(Scenario scenario, File sessionDir)
Set<Integer>
getPageIdsWithAnchor(Scenario scenario, File sessionDir)
File
getPdfFile(File sessionDir)
protected PdfImagesStorage
getPdfImagesStorage(File sessionDir)
File
getPdfPageAsImage(File sessionDir, int pageId)
List<File>
getPdfPagesAsImage(File sessionDir)
Scenario
readScenarioFromScenarioFile(File sessionFolder)
void
writeScenario(File sessionFolder, Scenario scenario)
-
-
-
Method Detail
-
readScenarioFromScenarioFile
public Scenario readScenarioFromScenarioFile(File sessionFolder) throws IOException
- Throws:
IOException
-
writeScenario
public void writeScenario(File sessionFolder, Scenario scenario) throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
com.fasterxml.jackson.databind.JsonMappingException
IOException
-
getPdfImagesStorage
protected PdfImagesStorage getPdfImagesStorage(File sessionDir)
-
-