@Immutable public final class AttachmentStringFromJson extends Object implements AttachmentString
| Constructor and Description |
|---|
AttachmentStringFromJson(com.google.gson.JsonElement element,
int group)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
attachmentString()
Constructs an Attachment attachmentString based on the JsonObject.
|
public AttachmentStringFromJson(com.google.gson.JsonElement element,
int group)
element - JsonElement that contains the response of the query.group - Group ID.public String attachmentString() throws IOException
AttachmentStringattachmentString in interface AttachmentStringIOException - if unknown Attachment attachmentFormat is found.Copyright © 2017–2018 jcabi.com. All rights reserved.