Package com.fourjs.report.facturx
Class PDFBoxAdapter
- java.lang.Object
-
- com.fourjs.report.facturx.PDFBoxAdapter
-
public class PDFBoxAdapter extends Object
-
-
Constructor Summary
Constructors Constructor Description PDFBoxAdapter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InputStream
getAttachment(File file, Predicate<org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification> test)
static InputStream
getAttachment(org.apache.pdfbox.pdmodel.PDDocument document, Predicate<org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification> test)
static InputStream
getFacturXAttachment(File file)
-
-
-
Method Detail
-
getFacturXAttachment
public static InputStream getFacturXAttachment(File file) throws IOException
- Throws:
IOException
-
getAttachment
public static InputStream getAttachment(File file, Predicate<org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification> test) throws IOException
- Throws:
IOException
-
getAttachment
public static InputStream getAttachment(org.apache.pdfbox.pdmodel.PDDocument document, Predicate<org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification> test) throws IOException
- Throws:
IOException
-
-