T - the generic typepublic class ExcelAttachment<T> extends Object
RowSheet classes.| Modifier and Type | Method and Description |
|---|---|
T |
getAttachment()
Gets the attachment.
|
AttachmentType |
getAttachmentType()
Gets the attachment type.
|
String |
getFileName()
Gets the file name.
|
static ExcelAttachment<byte[]> |
newInstance(byte[] attachment)
New instance.
|
static ExcelAttachment<String> |
newInstance(String attachment)
New instance.
|
void |
setAttachment(T attachment)
Sets the attachment.
|
void |
setAttachmentType(AttachmentType attachmentType)
Sets the attachment type.
|
void |
setFileName(String nomeFile)
Sets the file name.
|
public static ExcelAttachment<byte[]> newInstance(byte[] attachment)
attachment - the attachmentpublic static ExcelAttachment<String> newInstance(String attachment)
attachment - the attachmentpublic T getAttachment()
public void setAttachment(T attachment)
attachment - the new attachmentpublic AttachmentType getAttachmentType()
public String getFileName()
public void setAttachmentType(AttachmentType attachmentType)
attachmentType - the new attachment typepublic void setFileName(String nomeFile)
nomeFile - the new file nameCopyright © 2022. All rights reserved.