|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.common.filespecification.PDFileSpecification
org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification
public class PDComplexFileSpecification
This represents a file specification.
Constructor Summary | |
---|---|
PDComplexFileSpecification()
Default Constructor. |
|
PDComplexFileSpecification(COSDictionary dict)
Constructor. |
Method Summary | |
---|---|
COSDictionary |
getCOSDictionary()
Convert this standard java object to a COS object. |
COSBase |
getCOSObject()
Convert this standard java object to a COS object. |
PDEmbeddedFile |
getEmbeddedFile()
Get the embedded file. |
PDEmbeddedFile |
getEmbeddedFileDos()
Get the embedded dos file. |
PDEmbeddedFile |
getEmbeddedFileMac()
Get the embedded Mac file. |
PDEmbeddedFile |
getEmbeddedFileUnix()
Get the embedded Unix file. |
String |
getFile()
This will get the file name. |
String |
getFileDos()
This will get the name representing a Dos file. |
String |
getFileMac()
This will get the name representing a Mac file. |
String |
getFileUnix()
This will get the name representing a Unix file. |
boolean |
isVolatile()
Get if the file is volatile. |
void |
setEmbeddedFile(PDEmbeddedFile file)
Set the embedded file for this spec. |
void |
setEmbeddedFileDos(PDEmbeddedFile file)
Set the embedded dos file for this spec. |
void |
setEmbeddedFileMac(PDEmbeddedFile file)
Set the embedded Mac file for this spec. |
void |
setEmbeddedFileUnix(PDEmbeddedFile file)
Set the embedded Unix file for this spec. |
void |
setFile(String file)
This will set the file name. |
void |
setFileDos(String file)
This will set name representing a dos file. |
void |
setFileMac(String file)
This will set name representing a Mac file. |
void |
setFileUnix(String file)
This will set name representing a Unix file. |
void |
setVolatile(boolean fileIsVolatile)
Tell if the underlying file is volatile and should not be cached by the reader application. |
Methods inherited from class org.apache.pdfbox.pdmodel.common.filespecification.PDFileSpecification |
---|
createFS |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDComplexFileSpecification()
public PDComplexFileSpecification(COSDictionary dict)
dict
- The dictionary that fulfils this file specification.Method Detail |
---|
public COSBase getCOSObject()
public COSDictionary getCOSDictionary()
public String getFile()
getFile
in class PDFileSpecification
public void setFile(String file)
setFile
in class PDFileSpecification
file
- The name of the file.public String getFileDos()
public void setFileDos(String file)
file
- The name of the file.public String getFileMac()
public void setFileMac(String file)
file
- The name of the file.public String getFileUnix()
public void setFileUnix(String file)
file
- The name of the file.public void setVolatile(boolean fileIsVolatile)
fileIsVolatile
- The new value for the volatility of the file.public boolean isVolatile()
public PDEmbeddedFile getEmbeddedFile()
public void setEmbeddedFile(PDEmbeddedFile file)
file
- The file to be embedded.public PDEmbeddedFile getEmbeddedFileDos()
public void setEmbeddedFileDos(PDEmbeddedFile file)
file
- The dos file to be embedded.public PDEmbeddedFile getEmbeddedFileMac()
public void setEmbeddedFileMac(PDEmbeddedFile file)
file
- The Mac file to be embedded.public PDEmbeddedFile getEmbeddedFileUnix()
public void setEmbeddedFileUnix(PDEmbeddedFile file)
file
- The Unix file to be embedded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |