|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.tools.plugins.AbstractTool
com.lowagie.tools.plugins.ExtractAttachments
public class ExtractAttachments
This tool lets you extract the attachements of a PDF.
Field Summary |
---|
Fields inherited from class com.lowagie.tools.plugins.AbstractTool |
---|
arguments, internalFrame, MENU_EXECUTE, MENU_EXECUTE_PRINT, MENU_EXECUTE_PRINT_SILENT, MENU_EXECUTE_SHOW, menuoptions, versionsarray |
Fields inherited from interface com.lowagie.tools.ToolMenuItems |
---|
ABOUT, ARGUMENTS, CLOSE, EXECUTE, EXECUTEPRINT, EXECUTEPRINTSILENT, EXECUTESHOW, FILE, HELP, TOOL, TOOLS, USAGE, VERSION |
Constructor Summary | |
---|---|
ExtractAttachments()
Constructs a ExtractAttachements object. |
Method Summary | |
---|---|
protected void |
createFrame()
Creates the internal frame. |
void |
execute()
Executes the tool (in most cases this generates a PDF file). |
protected File |
getDestPathPDF()
Gets the PDF file that should be generated (or null if the output isn't a PDF file). |
static void |
main(String[] args)
Extract the attachements of a PDF. |
static void |
unpackFile(PdfReader reader,
PdfDictionary filespec,
String outPath)
|
void |
valueHasChanged(ToolArgument arg)
Indicates that the value of an argument has changed. |
Methods inherited from class com.lowagie.tools.plugins.AbstractTool |
---|
actionPerformed, addVersion, getArgs, getArguments, getInternalFrame, getMenubar, getUsage, getValue, setArguments, setArguments, setInternalFrame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtractAttachments()
Method Detail |
---|
protected void createFrame()
AbstractTool
createFrame
in class AbstractTool
AbstractTool.createFrame()
public void execute()
AbstractTool
execute
in class AbstractTool
AbstractTool.execute()
public void valueHasChanged(ToolArgument arg)
AbstractTool
valueHasChanged
in class AbstractTool
arg
- the argument that has changedAbstractTool.valueHasChanged(com.lowagie.tools.arguments.ToolArgument)
public static void main(String[] args)
args
- protected File getDestPathPDF() throws InstantiationException
AbstractTool
getDestPathPDF
in class AbstractTool
InstantiationException
AbstractTool.getDestPathPDF()
public static void unpackFile(PdfReader reader, PdfDictionary filespec, String outPath)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |