getCOSDictionary
public COSDictionary getCOSDictionary()
Convert this standard java object to a COS object.
- The cos object that matches this Java object.
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.
getEmbeddedFile
public PDEmbeddedFile getEmbeddedFile()
Get the embedded file.
- The embedded file for this file spec.
getEmbeddedFileDos
public PDEmbeddedFile getEmbeddedFileDos()
Get the embedded dos file.
- The embedded file for this file spec.
getEmbeddedFileMac
public PDEmbeddedFile getEmbeddedFileMac()
Get the embedded Mac file.
- The embedded file for this file spec.
getEmbeddedFileUnix
public PDEmbeddedFile getEmbeddedFileUnix()
Get the embedded Unix file.
- The embedded file for this file spec.
getFileDos
public String getFileDos()
This will get the name representing a Dos file.
getFileMac
public String getFileMac()
This will get the name representing a Mac file.
getFileUnix
public String getFileUnix()
This will get the name representing a Unix file.
isVolatile
public boolean isVolatile()
Get if the file is volatile. Default: false
- True if the file is volatile attribute is set.
setEmbeddedFile
public void setEmbeddedFile(PDEmbeddedFile file)
Set the embedded file for this spec.
file
- The file to be embedded.
setEmbeddedFileDos
public void setEmbeddedFileDos(PDEmbeddedFile file)
Set the embedded dos file for this spec.
file
- The dos file to be embedded.
setEmbeddedFileMac
public void setEmbeddedFileMac(PDEmbeddedFile file)
Set the embedded Mac file for this spec.
file
- The Mac file to be embedded.
setEmbeddedFileUnix
public void setEmbeddedFileUnix(PDEmbeddedFile file)
Set the embedded Unix file for this spec.
file
- The Unix file to be embedded.
setFile
public void setFile(String file)
This will set the file name.
- setFile in interface PDFileSpecification
file
- The name of the file.
setFileDos
public void setFileDos(String file)
This will set name representing a dos file.
file
- The name of the file.
setFileMac
public void setFileMac(String file)
This will set name representing a Mac file.
file
- The name of the file.
setFileUnix
public void setFileUnix(String file)
This will set name representing a Unix file.
file
- The name of the file.
setVolatile
public void setVolatile(boolean fileIsVolatile)
Tell if the underlying file is volatile and should not be cached by the
reader application. Default: false
fileIsVolatile
- The new value for the volatility of the file.