1. Project Clover database Mon Dec 22 2025 14:59:38 CST
  2. Package org.europa.together.application.internal

File PdfDocument.java

 

Coverage histogram

../../../../../img/srcFileCovDistChart10.png
0% of files have more coverage

Code metrics

0
2
2
1
31
11
2
1
1
2
1

Classes

Class Line # Actions
PdfDocument 10 2 0% 2 0
1.0100%
 

Contributing tests

This file is covered by 3 tests. .

Source view

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 toggle 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 toggle public PdfDocument(final PdfReader reader) throws IOException {
29  1 super(reader);
30    }
31    }