Module org.sejda.sambox
Class PDSimpleFileSpecification
java.lang.Object
org.sejda.sambox.pdmodel.common.filespecification.PDSimpleFileSpecification
- All Implemented Interfaces:
COSObjectable,PDFileSpecification
A file specification that is just a string.
- Author:
- Ben Litchfield
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PDSimpleFileSpecification
public PDSimpleFileSpecification() -
PDSimpleFileSpecification
Constructor.- Parameters:
fileName- The file that this spec represents.
-
-
Method Details
-
getFile
- Specified by:
getFilein interfacePDFileSpecification- Returns:
- The file name.
-
setFile
- Specified by:
setFilein interfacePDFileSpecification- Parameters:
fileName- The name of the file.
-
getCOSObject
Convert this standard java object to a COS object.- Specified by:
getCOSObjectin interfaceCOSObjectable- Returns:
- The cos object that matches this Java object.
-