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