public class Attachment extends Object implements Serializable
| Constructor and Description |
|---|
Attachment() |
Attachment(String descr,
Content cont) |
| Modifier and Type | Method and Description |
|---|---|
Content |
getContent()
Vrátí obsah přílohy.
|
String |
getDescription()
Vrátí popis přílohy.
|
String |
getMetaType()
Vrátí druh písemnosti (meta type), v ISDS jsou povolené main, enclosure,
signature a meta.
|
String |
getMimeType()
Vrátí MIME typ zprávy.
|
void |
setContents(Content cont) |
void |
setDescription(String newDescr)
Nastaví popis přílohy
|
void |
setMetaType(String metaType)
Nastaví druh písemnosti (meta type), v ISDS jsou povolené main, enclosure,
signature a meta.
|
void |
setMimeType(String mimeType) |
String |
toString() |
public Content getContent()
public void setContents(Content cont)
public String getDescription()
public void setDescription(String newDescr)
newDescr - popis zprávy, povinný, maximální délka 256 znaků.public String getMetaType()
public void setMetaType(String metaType)
public String getMimeType()
public void setMimeType(String mimeType)
Copyright © 2017. All rights reserved.