|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.general.PdfFileSpecificationBase
com.spire.pdf.general.PdfEmbeddedFileSpecification
public class PdfEmbeddedFileSpecification
Represents specification of embedded file.
| Constructor Summary | |
|---|---|
PdfEmbeddedFileSpecification(java.lang.String fileName)
Initializes new instance. |
|
PdfEmbeddedFileSpecification(java.lang.String fileName,
byte[] data)
Initializes a new instance of the class. |
|
PdfEmbeddedFileSpecification(java.lang.String fileName,
java.io.InputStream stream)
Initializes a new instance of the class. |
|
PdfEmbeddedFileSpecification(java.lang.String fileName,
com.spire.ms.System.IO.Stream stream)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
java.util.Date |
getCreationDate()
Gets creation date. |
byte[] |
getData()
Gets or sets the data. |
java.lang.String |
getDescription()
Gets the description. |
java.lang.String |
getFileName()
Gets or sets the File Name. |
java.lang.String |
getMimeType()
Gets the MIME type of the embedded file. |
java.util.Date |
getModificationDate()
Gets modification date. |
void |
setCreationDate(java.util.Date value)
Sets creation date. |
void |
setData(byte[] value)
|
void |
setDescription(java.lang.String value)
Sets the description. |
void |
setFieldValue(java.lang.String fieldName,
java.util.Date fieldValue)
Set the corresponding field value by field name. |
void |
setFieldValue(java.lang.String fieldName,
int fieldValue)
Set the corresponding field value by field name. |
void |
setFieldValue(java.lang.String fieldName,
java.lang.String fieldValue)
Set the corresponding field value by field name. |
void |
setMimeType(java.lang.String value)
Sets the MIME type of the embedded file. |
void |
setModificationDate(java.util.Date value)
Sets modification date. |
| Methods inherited from class com.spire.pdf.general.PdfFileSpecificationBase |
|---|
getDictionary |
| Constructor Detail |
|---|
public PdfEmbeddedFileSpecification(java.lang.String fileName)
fileName - file name
public PdfEmbeddedFileSpecification(java.lang.String fileName,
byte[] data)
fileName - Name of the file.data - The data.
public PdfEmbeddedFileSpecification(java.lang.String fileName,
com.spire.ms.System.IO.Stream stream)
fileName - Name of the file.stream - The stream.
public PdfEmbeddedFileSpecification(java.lang.String fileName,
java.io.InputStream stream)
fileName - Name of the file.stream - The stream.| Method Detail |
|---|
public java.lang.String getFileName()
getFileName in class PdfFileSpecificationBasepublic byte[] getData()
public void setData(byte[] value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String value)
public java.util.Date getCreationDate()
public void setCreationDate(java.util.Date value)
public java.util.Date getModificationDate()
public void setModificationDate(java.util.Date value)
public void setFieldValue(java.lang.String fieldName,
java.lang.String fieldValue)
fieldName - Custom field name.fieldValue - The corresponding field value.
public void setFieldValue(java.lang.String fieldName,
java.util.Date fieldValue)
fieldName - Custom field name.fieldValue - The corresponding field value.
public void setFieldValue(java.lang.String fieldName,
int fieldValue)
fieldName - Custom field name.fieldValue - The corresponding field value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||