public final class Attachment extends Object
AttachmentListenerNotifier.notifyListeners(java.util.function.Consumer)
.Modifier and Type | Class and Description |
---|---|
static class |
Attachment.Builder
Builds instances of type
Attachment . |
Modifier and Type | Method and Description |
---|---|
static Attachment |
build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<Attachment.Builder> init)
Creates an immutable instance of Attachment.
|
Attachment |
copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<Attachment.Builder> init)
Creates an immutable copy of this instance.
|
boolean |
equals(Object obj) |
Optional<Charset> |
getCharset() |
byte[] |
getContent() |
org.springframework.util.MimeType |
getMimeType() |
String |
getName() |
int |
hashCode() |
String |
toString() |
public String getName()
name
attributepublic org.springframework.util.MimeType getMimeType()
mimeType
attributepublic byte[] getContent()
content
attributepublic static Attachment build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<Attachment.Builder> init)
init
- The initializerIllegalStateException
- if any required attributes are missingpublic Attachment copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<Attachment.Builder> init)
init
- The initializerCopyright © 2018–2020 b+m Informatik AG. All rights reserved.