Package com.cumulocity.model.email
Class Attachment
- java.lang.Object
-
- com.cumulocity.model.email.Attachment
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public final class Attachment extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttachment.AttachmentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attachment.AttachmentBuilderaAttachment()voidclose()booleanequals(Object o)StringgetFilename()DisposableInputStreamSourcegetInputStreamSource()inthashCode()StringtoString()
-
-
-
Method Detail
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
aAttachment
public static Attachment.AttachmentBuilder aAttachment()
-
getFilename
public String getFilename()
-
getInputStreamSource
public DisposableInputStreamSource getInputStreamSource()
-
-