Class Attachment
- java.lang.Object
-
- de.codecentric.reedelk.runtime.api.message.content.Attachment
-
- All Implemented Interfaces:
Serializable
public class Attachment extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttachment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>attributes()static Attachment.Builderbuilder()byte[]data()static booleanisAttachmentMap(Object value)A map is an 'attachment' map if and only if all its keys are type string and all its values are of type attachment.MimeTypemimeType()Stringname()StringtoString()
-
-
-
Method Detail
-
builder
public static Attachment.Builder builder()
-
name
public String name()
-
data
public byte[] data()
-
mimeType
public MimeType mimeType()
-
isAttachmentMap
public static boolean isAttachmentMap(Object value)
A map is an 'attachment' map if and only if all its keys are type string and all its values are of type attachment.
-
-