Class PDActionImportData
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.interactive.action.PDAction
-
- org.apache.pdfbox.pdmodel.interactive.action.PDActionImportData
-
- All Implemented Interfaces:
COSObjectable
,PDDestinationOrAction
public class PDActionImportData extends PDAction
-
-
Constructor Summary
Constructors Constructor Description PDActionImportData()
Default constructor.PDActionImportData(COSDictionary a)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDFileSpecification
getFile()
This will get the file in which the destination is located.void
setFile(PDFileSpecification fs)
This will set the file in which the destination is located.-
Methods inherited from class org.apache.pdfbox.pdmodel.interactive.action.PDAction
getCOSObject, getNext, getSubType, getType, setNext, setSubType, setType
-
-
-
-
Field Detail
-
SUB_TYPE
public static final java.lang.String SUB_TYPE
This type of action this object represents.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PDActionImportData
public PDActionImportData()
Default constructor.
-
PDActionImportData
public PDActionImportData(COSDictionary a)
Constructor.- Parameters:
a
- The action dictionary.
-
-
Method Detail
-
getFile
public PDFileSpecification getFile() throws java.io.IOException
This will get the file in which the destination is located.- Returns:
- The F entry of the specific Submit-From action dictionary.
- Throws:
java.io.IOException
- If there is an error creating the file spec.
-
setFile
public void setFile(PDFileSpecification fs)
This will set the file in which the destination is located.- Parameters:
fs
- The file specification.
-
-