org.pdfbox.pdmodel.interactive.action.type
Class PDWindowsLaunchParams
java.lang.Object
org.pdfbox.pdmodel.interactive.action.type.PDWindowsLaunchParams
- COSObjectable
public class PDWindowsLaunchParams
extends java.lang.Object
Launch paramaters for the windows OS.
OPERATION_OPEN
public static final String OPERATION_OPEN
The open operation for the launch.
OPERATION_PRINT
public static final String OPERATION_PRINT
The print operation for the lanuch.
PDWindowsLaunchParams
public PDWindowsLaunchParams()
Default constructor.
PDWindowsLaunchParams
public PDWindowsLaunchParams(COSDictionary p)
Constructor.
p
- The params dictionary.
getCOSDictionary
public COSDictionary getCOSDictionary()
Convert this standard java object to a COS object.
- The cos object that matches this Java object.
getCOSObject
public COSBase getCOSObject()
Convert this standard java object to a COS object.
- getCOSObject in interface COSObjectable
- The cos object that matches this Java object.
getDirectory
public String getDirectory()
The dir to launch from.
- The dir of the executable/document to launch.
getExecuteParam
public String getExecuteParam()
A parameter to pass the executable.
- The parameter to pass the executable.
getFilename
public String getFilename()
The file to launch.
- The executable/document to launch.
getOperation
public String getOperation()
Get the operation to perform on the file. This method will not return null,
OPERATION_OPEN is the default.
- The operation to perform for the file.
setDirectory
public void setDirectory(String dir)
Set the dir to launch from.
dir
- The dir of the executable/document to launch.
setExecuteParam
public void setExecuteParam(String param)
Set the parameter to pass the executable.
param
- The parameter for the executable.
setFilename
public void setFilename(String file)
Set the file to launch.
file
- The executable/document to launch.
setOperation
public void setOperation(String op)
Set the operation to perform..
op
- The operation to perform on the file.