| 
 | |||||||||
| 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
com.spire.pdf.attachments.PdfAttachment
public class PdfAttachment
Represents attachments of the Pdf document.
| Constructor Summary | |
|---|---|
| PdfAttachment(java.lang.String fileName)Initializes a new instance of the class. | |
| PdfAttachment(java.lang.String fileName,
              byte[] data)Initializes a new instance of the class. | |
| PdfAttachment(java.lang.String fileName,
              java.io.InputStream stream)Initializes a new instance of the class. | |
| PdfAttachment(java.lang.String fileName,
              com.spire.ms.System.IO.Stream stream)Initializes a new instance of the class. | |
| Method Summary | 
|---|
| Methods inherited from class com.spire.pdf.general.PdfEmbeddedFileSpecification | 
|---|
| getCreationDate, getData, getDescription, getFileName, getMimeType, getModificationDate, setCreationDate, setData, setDescription, setMimeType, setModificationDate | 
| Methods inherited from class com.spire.pdf.general.PdfFileSpecificationBase | 
|---|
| getDictionary | 
| Constructor Detail | 
|---|
public PdfAttachment(java.lang.String fileName)
fileName - Name of the file.
public PdfAttachment(java.lang.String fileName,
                     byte[] data)
fileName - Name of the file.data - The data to be attached as a file.
public PdfAttachment(java.lang.String fileName,
                     com.spire.ms.System.IO.Stream stream)
fileName - Name of the file.stream - The stream.
public PdfAttachment(java.lang.String fileName,
                     java.io.InputStream stream)
fileName - Name of the file.stream - The stream.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||