org.pdfsam.guiclient.commons.business.loaders.callable
Class AddPdfDocument
java.lang.Object
org.pdfsam.guiclient.commons.business.loaders.callable.AddPdfDocument
- All Implemented Interfaces:
- java.util.concurrent.Callable<java.lang.Boolean>
- Direct Known Subclasses:
- ReloadPdfDocument
public class AddPdfDocument
- extends java.lang.Object
- implements java.util.concurrent.Callable<java.lang.Boolean>
Callable to add a pdf document to the selection panel
- Author:
- Andrea Vacondio
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wipText
java.lang.String wipText
inputFile
java.io.File inputFile
password
java.lang.String password
pageSelection
java.lang.String pageSelection
panel
JPdfSelectionPanel panel
AddPdfDocument
public AddPdfDocument(java.io.File inputFile,
JPdfSelectionPanel panel)
AddPdfDocument
public AddPdfDocument(java.io.File inputFile,
JPdfSelectionPanel panel,
java.lang.String password,
java.lang.String pageSelection)
call
public java.lang.Boolean call()
- Specified by:
call in interface java.util.concurrent.Callable<java.lang.Boolean>
getPdfSelectionTableItem
PdfSelectionTableItem getPdfSelectionTableItem(java.io.File fileToAdd,
java.lang.String password,
java.lang.String pageSelection)
- Parameters:
fileToAdd - file to addpassword - password to open the file
- Returns:
- the item to add to the table