Constructor and Description |
---|
MessageList() |
Modifier and Type | Method and Description |
---|---|
void |
add(int arg0,
Message arg1) |
boolean |
add(Message arg0) |
boolean |
addAll(Collection<? extends Message> arg0) |
boolean |
addAll(int arg0,
Collection<? extends Message> arg1) |
void |
clear() |
boolean |
contains(Object arg0) |
boolean |
containsAll(Collection<?> arg0) |
Content |
content()
Get the message content
|
Content |
content(Content data)
Set the message content
|
long |
delay()
Gets the delay applied to the message.
|
long |
delay(int ms)
Sets the delay applied to the message.
|
InputStream |
file(String name)
Gets the content of a file attachment.
|
InputStream |
file(String name,
InputStream data)
Sets the content of a file attachment.
|
Map<String,InputStream> |
files()
Retreive a copy of all attachments
|
Message |
get(int arg0) |
int |
indexOf(Object arg0) |
boolean |
isEmpty() |
Iterator<Message> |
iterator() |
Any |
jsonSerialize()
JSON serialization.
|
Message |
jsonUnserialize(Any json)
JSON unserialization.
|
Message |
jsonUnserialize(String json)
JSON unserialization.
|
int |
lastIndexOf(Object arg0) |
ListIterator<Message> |
listIterator() |
ListIterator<Message> |
listIterator(int arg0) |
Message |
remove(int arg0) |
boolean |
remove(Object arg0) |
boolean |
removeAll(Collection<?> arg0) |
boolean |
retainAll(Collection<?> arg0) |
Message |
set(int arg0,
Message arg1) |
int |
size() |
List<Message> |
subList(int arg0,
int arg1) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] arg0) |
public boolean add(Message arg0)
public boolean addAll(Collection<? extends Message> arg0)
public boolean addAll(int arg0, Collection<? extends Message> arg1)
addAll
in interface List<Message>
public void clear()
public boolean contains(Object arg0)
public boolean containsAll(Collection<?> arg0)
public int indexOf(Object arg0)
indexOf
in interface List<Message>
public boolean isEmpty()
public Iterator<Message> iterator()
public int lastIndexOf(Object arg0)
lastIndexOf
in interface List<Message>
public ListIterator<Message> listIterator()
listIterator
in interface List<Message>
public ListIterator<Message> listIterator(int arg0)
listIterator
in interface List<Message>
public boolean remove(Object arg0)
public boolean removeAll(Collection<?> arg0)
public boolean retainAll(Collection<?> arg0)
public int size()
public List<Message> subList(int arg0, int arg1)
subList
in interface List<Message>
public Object[] toArray()
public <T> T[] toArray(T[] arg0)
public InputStream file(String name, InputStream data)
Message
public InputStream file(String name)
Message
public Map<String,InputStream> files()
Message
public Content content(Content data)
Message
public long delay(int ms)
Message
public long delay()
Message
public Any jsonSerialize()
Message
jsonSerialize
in class Message
public Message jsonUnserialize(String json)
Message
jsonUnserialize
in class Message
public Message jsonUnserialize(Any json)
Message
jsonUnserialize
in class Message