public class OnlineMailList
extends java.lang.Object
| Constructor and Description |
|---|
OnlineMailList(StreamTable info) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewMail(OnlineMail mail)
Adds the specified mail to the mail list.
|
void |
clearAllMails()
Remove all mails from the list (so that they can be
resynchronized from the server.
|
StreamTable |
getInfo()
Should only be called from the io.*Writer classes for
saving info in a file.
|
OnlineMail |
getMail(int i)
Get a service object for the service at the specified index.
|
OnlineMail |
getMailByID(java.lang.String id) |
int |
getMailCount()
Get the number of online services that the user has
access to.
|
int |
indexOf(OnlineMail mail)
returns the index of the given mail message in the list, or
-1 if it is not in the list.
|
OnlineMail |
newMail()
This creates a new mail that is associated with this list and
the specified payee.
|
void |
removeMail(int i)
Remove the mail object at the specified index.
|
boolean |
removeMail(OnlineMail mail)
Remove the given mail object from the list.
|
public OnlineMailList(StreamTable info)
public StreamTable getInfo()
public void clearAllMails()
public int getMailCount()
public OnlineMail getMailByID(java.lang.String id)
public OnlineMail getMail(int i)
public int indexOf(OnlineMail mail)
public void removeMail(int i)
public boolean removeMail(OnlineMail mail)
public OnlineMail newMail()
public void addNewMail(OnlineMail mail)