| java.lang.Object | |
| ↳ | chan.content.ChanPerformer.SendPostData.Attachment |
Holds attachment data.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| optionSpoiler | Spoiler option. |
||||||||||
| rating | Attachment rating argument. |
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configures and adds attachment to | |||||||||||
Returns attachment file name. | |||||||||||
Returns attachment mime type. | |||||||||||
Returns attachment file size. | |||||||||||
Opens | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Spoiler option.
Attachment rating argument.
Configures and adds attachment to MultipartEntity instance.
| Parameters | |
|---|---|
entity |
MultipartEntity:
MultipartEntity instance. |
name |
String:
Field name.
|
Returns attachment file name.
| Returns | |
|---|---|
String |
|
Returns attachment mime type.
| Returns | |
|---|---|
String |
|
Returns attachment file size.
| Returns | |
|---|---|
long |
|
Opens InputStream for this attachment.
| Returns | |
|---|---|
InputStream |
|
| Throws | |
|---|---|
IOException |
If an error occurs while initializing a stream. |