| Class | Line # | Actions | |||||
|---|---|---|---|---|---|---|---|
| PdfDocument | 10 | 2 | 0% | 2 | 0 |
| 1 | package org.europa.together.application.internal; | |
| 2 | ||
| 3 | import java.io.IOException; | |
| 4 | import org.openpdf.text.pdf.PdfReader; | |
| 5 | ||
| 6 | /** | |
| 7 | * This class hides implementation details of the OpenPdf PdfReader class used | |
| 8 | * in the API. | |
| 9 | */ | |
| 10 | public class PdfDocument extends PdfReader { | |
| 11 | ||
| 12 | /** | |
| 13 | * Wrapped CONSTRUCTOR. | |
| 14 | * | |
| 15 | * @param filename as string | |
| 16 | * @throws IOException case of error | |
| 17 | */ | |
| 18 | 3 | public PdfDocument(final String filename) throws IOException { |
| 19 | 3 | super(filename); |
| 20 | } | |
| 21 | ||
| 22 | /** | |
| 23 | * Wrapped CONSTRUCTOR. | |
| 24 | * | |
| 25 | * @param reader as PdfReader | |
| 26 | * @throws IOException case of error | |
| 27 | */ | |
| 28 | 1 | public PdfDocument(final PdfReader reader) throws IOException { |
| 29 | 1 | super(reader); |
| 30 | } | |
| 31 | } |