COSObjectable
PDComplexFileSpecification
, PDSimpleFileSpecification
public abstract class PDFileSpecification extends java.lang.Object implements COSObjectable
Constructor | Description |
---|---|
PDFileSpecification() |
Modifier and Type | Method | Description |
---|---|---|
static PDFileSpecification |
createFS(COSBase base) |
A file specfication can either be a COSString or a COSDictionary.
|
abstract java.lang.String |
getFile() |
This will get the file name.
|
abstract void |
setFile(java.lang.String file) |
This will set the file name.
|
getCOSObject
public static PDFileSpecification createFS(COSBase base) throws java.io.IOException
base
- The cos object that describes the fs.java.io.IOException
- If there is an error creating the file spec.public abstract java.lang.String getFile()
public abstract void setFile(java.lang.String file)
file
- The name of the file.