org.pdfbox.pdmodel.common.filespecification
Class PDFileSpecification
java.lang.Object
org.pdfbox.pdmodel.common.filespecification.PDFileSpecification
- COSObjectable
public abstract class PDFileSpecification
extends java.lang.Object
This represents a file specification.
createFS
public static PDFileSpecification createFS(COSBase base)
throws IOException
A file specfication can either be a COSString or a COSDictionary. This
will create the file specification either way.
base
- The cos object that describes the fs.
- The file specification for the COSBase object.
getFile
public abstract String getFile()
This will get the file name.
setFile
public abstract void setFile(String file)
This will set the file name.
file
- The name of the file.