Top Fields Constructors Methods
org.apache.pdfbox.pdmodel.interactive.action

public Class PDActionImportData

extends PDAction
Class Inheritance
Imports
org.apache.pdfbox.cos.COSDictionary, .COSName, org.apache.pdfbox.pdmodel.common.filespecification.PDFileSpecification, java.io.IOException

Author
Timur Kamalov

Field Summary

Modifier and TypeField and Description
public static final String
SUB_TYPE

This type of action this object represents.

Inherited from org.apache.pdfbox.pdmodel.interactive.action.PDAction:
actionTYPE

Constructor Summary

AccessConstructor and Description
public
PDActionImportData()

Default constructor.

public
PDActionImportData(COSDictionary
The action dictionary.
a
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public PDFileSpecification

Returns:

The F entry of the specific Submit-From action dictionary.
getFile
()

This will get the file in which the destination is located.

public void
setFile(PDFileSpecification
The file specification.
fs
)

This will set the file in which the destination is located.

Inherited from org.apache.pdfbox.pdmodel.interactive.action.PDAction:
getCOSObjectgetNextgetSubTypegetTypesetNextsetSubTypesetType

Field Detail

SUB_TYPEback to summary
public static final String SUB_TYPE

This type of action this object represents.

Constructor Detail

PDActionImportDataback to summary
public PDActionImportData()

Default constructor.

PDActionImportDataback to summary
public PDActionImportData(COSDictionary a)

Constructor.

Parameters
a:COSDictionary

The action dictionary.

Method Detail

getFileback to summary
public PDFileSpecification getFile() throws IOException

This will get the file in which the destination is located.

Returns:PDFileSpecification

The F entry of the specific Submit-From action dictionary.

Exceptions
IOException:
If there is an error creating the file spec.
setFileback to summary
public void setFile(PDFileSpecification fs)

This will set the file in which the destination is located.

Parameters
fs:PDFileSpecification

The file specification.