Class PDFileSpecification
java.lang.Object
org.apache.pdfbox.pdmodel.common.filespecification.PDFileSpecification
- All Implemented Interfaces:
COSObjectable
- Direct Known Subclasses:
PDComplexFileSpecification
,PDSimpleFileSpecification
This represents a file specification.
- Version:
- $Revision: 1.4 $
- Author:
- Ben Litchfield
-
Constructor Details
-
PDFileSpecification
public PDFileSpecification()
-
-
Method Details
-
createFS
A file specfication can either be a COSString or a COSDictionary. This will create the file specification either way.- Parameters:
base
- The cos object that describes the fs.- Returns:
- The file specification for the COSBase object.
- Throws:
IOException
- If there is an error creating the file spec.
-
getFile
This will get the file name.- Returns:
- The file name.
-
setFile
This will set the file name.- Parameters:
file
- The name of the file.
-