Class PDSimpleFileSpecification
java.lang.Object
org.apache.pdfbox.pdmodel.common.filespecification.PDFileSpecification
org.apache.pdfbox.pdmodel.common.filespecification.PDSimpleFileSpecification
- All Implemented Interfaces:
COSObjectable
A file specification that is just a string.
- Version:
- $Revision: 1.2 $
- Author:
- Ben Litchfield
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.pdfbox.pdmodel.common.filespecification.PDFileSpecification
createFS
-
Constructor Details
-
PDSimpleFileSpecification
public PDSimpleFileSpecification()Constructor. -
PDSimpleFileSpecification
Constructor.- Parameters:
fileName
- The file that this spec represents.
-
-
Method Details
-
getFile
This will get the file name.- Specified by:
getFile
in classPDFileSpecification
- Returns:
- The file name.
-
setFile
This will set the file name.- Specified by:
setFile
in classPDFileSpecification
- Parameters:
fileName
- The name of the file.
-
getCOSObject
Convert this standard java object to a COS object.- Returns:
- The cos object that matches this Java object.
-