@Test public void fileDoestExist() { try { new PdfFileSourceAdapter("/tmp/doesntexist.pdf:secret").getPdfFileSource(); } catch (SejdaRuntimeException e) { assertThat(e.getMessage(), containsString("does not exist")); } }
public PdfFileSource getPdfFileSource() { return pdfFileSource; }
PdfFileSourceAdapter { public PdfFileSource getPdfFileSource() { return pdfFileSource; } }
PdfFileSourceAdapter { public PdfFileSource getPdfFileSource() { return pdfFileSource; } PdfFileSourceAdapter(String filePathAndPassword); }
PdfFileSourceAdapter { public PdfFileSource getPdfFileSource() { return pdfFileSource; } PdfFileSourceAdapter(String filePathAndPassword); PdfFileSource getPdfFileSource(); }
PdfFileSourceAdapter { public PdfFileSource getPdfFileSource() { return pdfFileSource; } PdfFileSourceAdapter(String filePathAndPassword); PdfFileSource getPdfFileSource(); static final String PASSWORD_SEPARATOR_CHARACTER; }