|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.EmbeddedFile
public class EmbeddedFile
Represents a PDF document's EmbeddedFile entry.
Licensing:
This class is a DynamicPDF Generator Professional Edition
feature. One of the following licenses is required for non-evaluation usage:
Constructor Summary | |
---|---|
EmbeddedFile(byte[] file,
java.lang.String fileName,
java.util.Date modifiedDate)
Initializes a new instance of the EmbeddedFile class. |
|
EmbeddedFile(java.io.FileInputStream file,
java.lang.String fileName,
java.util.Date modifiedDate)
Initializes a new instance of the EmbeddedFile class. |
|
EmbeddedFile(java.lang.String filePath)
Initializes a new instance of the EmbeddedFile class. |
Method Summary | |
---|---|
void |
drawReference(DocumentWriter writer)
Draws a reference to the EmbeddedFile indirect object. |
java.lang.String |
fileName()
Gets the file name of the embedded file. |
java.lang.String |
getDescription()
Gets the description of the embedded file. |
java.lang.String |
getMimeType()
Gets the mime type of the embedded file. |
EmbeddedFileRelation |
getRelation()
Gets the embedded file relation. |
void |
setDescription(java.lang.String value)
Sets the description of the embedded file. |
void |
setFileName(java.lang.String value)
Sets the file name of the embedded file. |
void |
setMimeType(java.lang.String value)
Sets the mime type of the embedded file. |
void |
setRelation(EmbeddedFileRelation value)
Sets the embedded file relation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmbeddedFile(byte[] file, java.lang.String fileName, java.util.Date modifiedDate)
EmbeddedFile
class.
file
- The byte array of the file need to be embeddedfileName
- Name of the file embeddedmodifiedDate
- Last modifieddate of the fileEmbeddedFile
public EmbeddedFile(java.io.FileInputStream file, java.lang.String fileName, java.util.Date modifiedDate)
EmbeddedFile
class.
file
- The FileStream of the file need to be embeddedfileName
- Name of the file embeddedmodifiedDate
- Last modifieddate of the fileEmbeddedFile
public EmbeddedFile(java.lang.String filePath)
EmbeddedFile
class.
filePath
- The physical path to the file need to be embeddedEmbeddedFile
Method Detail |
---|
public void drawReference(DocumentWriter writer)
writer
- DocumentWriter
object to receive the embedded file indirect object.DocumentWriter
public java.lang.String fileName()
public void setFileName(java.lang.String value)
value
- The string value indicates the file name of the embedded file.public EmbeddedFileRelation getRelation()
public void setRelation(EmbeddedFileRelation value)
value
- The string value specifies the embedded file relation.public java.lang.String getMimeType()
public void setMimeType(java.lang.String value)
value
- The string value specifies the mime type of the embedded file.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value
- The string value specifies the description of the embedded file.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |