org.pdfbox.pdmodel.common.filespecification
Class PDSimpleFileSpecification
- COSObjectable
public class PDSimpleFileSpecification
A file specification that is just a string.
COSBase | getCOSObject()- Convert this standard java object to a COS object.
|
String | getFile()- This will get the file name.
|
void | setFile(String fileName)- This will set the file name.
|
PDSimpleFileSpecification
public PDSimpleFileSpecification()
Constructor.
PDSimpleFileSpecification
public PDSimpleFileSpecification(COSString fileName)
Constructor.
fileName - The file that this spec represents.
getCOSObject
public COSBase getCOSObject()
Convert this standard java object to a COS object.
- getCOSObject in interface COSObjectable
- The cos object that matches this Java object.
setFile
public void setFile(String fileName)
This will set the file name.
- setFile in interface PDFileSpecification
fileName - The name of the file.