Class AttachmentImpl
java.lang.Object
ch.tocco.nice2.messaging.mail.spi.AbstractAttachment
ch.tocco.nice2.messaging.mail.spi.AttachmentImpl
- All Implemented Interfaces:
Attachment
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.messaging.mail.api.Attachment
Attachment.Disposition
-
Field Summary
Fields inherited from class ch.tocco.nice2.messaging.mail.spi.AbstractAttachment
description, disposition, encodedFileName, fileName, id, idGenerated, mimeType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
byte[]
int
hashCode()
void
loadContent
(InputStream input) void
setContent
(byte[] content) Methods inherited from class ch.tocco.nice2.messaging.mail.spi.AbstractAttachment
getDescription, getDisposition, getEncodedFileName, getFileName, getId, getMimeType, isManualId, setDescription, setDisposition, setFileName, setMimeType
-
Constructor Details
-
AttachmentImpl
-
-
Method Details
-
getContent
public byte[] getContent() -
setContent
public void setContent(byte[] content) -
loadContent
- Throws:
IOException
-
clone
-
equals
- Overrides:
equals
in classAbstractAttachment
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractAttachment
-