|
|||||||||
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.Encrypt
public class Encrypt
Allows you to encrypt an existing PDF file.
Field Summary | |
---|---|
private static String[] |
PERMISSION_OPTIONS
|
private static int[] |
PERMISSIONS
|
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 | |
---|---|
Encrypt()
Constructs an Encrypt 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)
Encrypts an existing PDF file. |
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 |
Field Detail |
---|
private static final int[] PERMISSIONS
private static final String[] PERMISSION_OPTIONS
Constructor Detail |
---|
public Encrypt()
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |