public class PDWindowsLaunchParams extends Object implements COSObjectable
Modifier and Type | Field and Description |
---|---|
static String |
OPERATION_OPEN
The open operation for the launch.
|
static String |
OPERATION_PRINT
The print operation for the launch.
|
protected COSDictionary |
params
The params dictionary.
|
Constructor and Description |
---|
PDWindowsLaunchParams()
Default constructor.
|
PDWindowsLaunchParams(COSDictionary p)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
COSDictionary |
getCOSObject()
Convert this standard java object to a COS object.
|
String |
getDirectory()
The dir to launch from.
|
String |
getExecuteParam()
A parameter to pass the executable.
|
String |
getFilename()
The file to launch.
|
String |
getOperation()
Get the operation to perform on the file.
|
void |
setDirectory(String dir)
Set the dir to launch from.
|
void |
setExecuteParam(String param)
Set the parameter to pass the executable.
|
void |
setFilename(String file)
Set the file to launch.
|
void |
setOperation(String op)
Set the operation to perform..
|
public static final String OPERATION_OPEN
public static final String OPERATION_PRINT
protected COSDictionary params
public PDWindowsLaunchParams()
public PDWindowsLaunchParams(COSDictionary p)
p
- The params dictionary.public COSDictionary getCOSObject()
getCOSObject
in interface COSObjectable
public String getFilename()
public void setFilename(String file)
file
- The executable/document to launch.public String getDirectory()
public void setDirectory(String dir)
dir
- The dir of the executable/document to launch.public String getOperation()
OPERATION_OPEN
,
OPERATION_PRINT
public void setOperation(String op)
op
- The operation to perform on the file.public String getExecuteParam()
public void setExecuteParam(String param)
param
- The parameter for the executable.Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.