public class FileAttachment
extends java.lang.Object
Class that contains an attachment for including into PDF file.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
FileAttachment(java.lang.String attName,
java.lang.String attDescription)
Constructor method for the class FileAttachment.java.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getContent()
Gets the value of the attachment content.
|
java.lang.String |
getDescription()
Gets the value of the attachment description.
|
java.lang.String |
getName()
Gets the value of the attachment name.
|
void |
setContent(byte[] attContent)
Sets the value of the attachment content.
|
void |
setDescription(java.lang.String attDescription)
Sets the value of the attachment description.
|
void |
setName(java.lang.String attName)
Sets the value of the attachment name.
|
public FileAttachment(java.lang.String attName,
java.lang.String attDescription)
attName - Attachment name.attDescription - Attachment description.public java.lang.String getName()
public void setName(java.lang.String attName)
attName - The value for the attachment name.public java.lang.String getDescription()
public void setDescription(java.lang.String attDescription)
attDescription - The value for the attachment description.public byte[] getContent()
public void setContent(byte[] attContent)
attContent - The value for the attachment content.