@@ -85,6 +85,7 @@ private void resetStrategy() {
85
85
* Get all {@link PdfCleanUpLocation} objects from a given {@link PdfPage}
86
86
*
87
87
* @param page the {@link PdfPage} to be processed
88
+ * @return a List of {@link PdfCleanUpLocation} objects
88
89
*/
89
90
public List <PdfCleanUpLocation > getPdfCleanUpLocations (PdfPage page ) {
90
91
// get document
@@ -115,6 +116,7 @@ public List<PdfCleanUpLocation> getPdfCleanUpLocations(PdfPage page) {
115
116
* Get all {@link PdfCleanUpLocation} objects from a given {@link PdfDocument}
116
117
*
117
118
* @param doc the {@link PdfDocument} to be processed
119
+ * @return a List of {@link PdfCleanUpLocation} objects
118
120
*/
119
121
public List <PdfCleanUpLocation > getPdfCleanUpLocations (PdfDocument doc ) {
120
122
PdfDocumentContentParser parser = new PdfDocumentContentParser (doc );
@@ -173,7 +175,7 @@ public void highlight(PdfPage pdfPage) {
173
175
* Perform cleanup of areas of interest on a given {@link PdfDocument}
174
176
*
175
177
* @param pdfDocument the {@link PdfDocument} to be redacted
176
- * @throws IOException
178
+ * @throws IOException an {@link IOException}
177
179
*/
178
180
public void cleanUp (PdfDocument pdfDocument ) throws IOException {
179
181
List <PdfCleanUpLocation > cleanUpLocations = getPdfCleanUpLocations (pdfDocument );
@@ -187,7 +189,7 @@ public void cleanUp(PdfDocument pdfDocument) throws IOException {
187
189
* Perform cleanup of areas of interest on a given {@link PdfPage}
188
190
*
189
191
* @param pdfPage the {@link PdfPage} to be redacted
190
- * @throws IOException
192
+ * @throws IOException an {@link IOException}
191
193
*/
192
194
public void cleanUp (PdfPage pdfPage ) throws IOException {
193
195
List <PdfCleanUpLocation > cleanUpLocations = getPdfCleanUpLocations (pdfPage );
@@ -202,7 +204,7 @@ public void cleanUp(PdfPage pdfPage) throws IOException {
202
204
* This method will add all redaction annotations to the given document, allowing
203
205
* the end-user to choose which redactions to keep or delete.
204
206
*
205
- * @param pdfDocument
207
+ * @param pdfDocument the document to clean up
206
208
*/
207
209
public void tentativeCleanUp (PdfDocument pdfDocument ) {
208
210
for (int i = 1 ; i <= pdfDocument .getNumberOfPages (); i ++)
@@ -214,7 +216,7 @@ public void tentativeCleanUp(PdfDocument pdfDocument) {
214
216
* This method will add all redaction annotations to the given page, allowing
215
217
* the end-user to choose which redactions to keep or delete.
216
218
*
217
- * @param pdfPage
219
+ * @param pdfPage the page to clean up
218
220
*/
219
221
public void tentativeCleanUp (PdfPage pdfPage ) {
220
222
List <PdfCleanUpLocation > cleanUpLocations = getPdfCleanUpLocations (pdfPage );
0 commit comments