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 class
Attachment.AttachmentBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Attachment.AttachmentBuilder
aAttachment()
void
close()
boolean
equals(Object o)
String
getFilename()
DisposableInputStreamSource
getInputStreamSource()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
aAttachment
public static Attachment.AttachmentBuilder aAttachment()
-
getFilename
public String getFilename()
-
getInputStreamSource
public DisposableInputStreamSource getInputStreamSource()
-
-