com.lowagie.toolbox.plugins
public class ExtractAttachments extends AbstractTool
Since: 2.1.1 (imported from itexttoolbox project)
| Constructor Summary | |
|---|---|
| ExtractAttachments()
Constructs a ExtractAttachements object. | |
| Method Summary | |
|---|---|
| protected void | createFrame() |
| void | execute() |
| protected File | getDestPathPDF() |
| static void | main(String[] args)
Extract the attachments of a PDF.
|
| static void | unpackFile(PdfReader reader, PdfDictionary filespec, String outPath)
Unpacks a file attachment.
|
| void | valueHasChanged(AbstractArgument arg) |
See Also: createFrame
See Also: execute
Parameters: args String[]
Parameters: reader The object that reads the PDF document filespec The dictionary containing the file specifications outPath The path where the attachment has to be written
Throws: IOException
Parameters: arg StringArgument
See Also: valueHasChanged