|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectesmska.data.Envelope
public class Envelope
Class for preparing attributes of sms (single or multiple)
Constructor Summary | |
---|---|
Envelope()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
java.util.ArrayList<SMS> |
generate()
generate list of sms's to send |
java.util.Set<Contact> |
getContacts()
get all recipients |
int |
getMaxTextLength()
get maximum length of sendable message |
int |
getSignatureLength()
Get maximum signature length of the contact gateways in the envelope |
int |
getSMSCount(int chars)
get number of sms from these characters |
int |
getSMSLength()
get length of one sms |
java.lang.String |
getText()
get text of sms |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
setContacts(java.util.Set<Contact> contacts)
set all recipients |
void |
setText(java.lang.String text)
set text of sms |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Envelope()
Method Detail |
---|
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public java.lang.String getText()
public void setText(java.lang.String text)
public java.util.Set<Contact> getContacts()
public void setContacts(java.util.Set<Contact> contacts)
public int getMaxTextLength()
public int getSMSLength()
public int getSMSCount(int chars)
public int getSignatureLength()
public java.util.ArrayList<SMS> generate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |