public class Voicemailbox extends Object implements Serializable
| Constructor and Description |
|---|
Voicemailbox(String mailbox,
String context,
String user)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContext()
Returns the context of this mailbox as defined in
voicemail.conf. |
String |
getMailbox()
Returns the name of this mailbox as defined in
voicemail.conf. |
int |
getNewMessages()
Returns the number of new messages.
|
int |
getOldMessages()
Returns the number of old messages.
|
String |
getUser()
Returns the user (usually the full name) of this mailbox as defined in
voicemail.conf. |
void |
setNewMessages(int newMessages)
Sets the number of new messages.
|
void |
setOldMessages(int oldMessages)
Sets the number of old messages.
|
String |
toString() |
public Voicemailbox(String mailbox, String context, String user)
mailbox - the name of this mailbox as defined in voicemail.conf.context - the context of this mailbox as defined in voicemail.conf.user - the user of this mailbox as defined in voicemail.conf.public String getMailbox()
voicemail.conf.voicemail.conf.public String getContext()
voicemail.conf.voicemail.conf.public String getUser()
voicemail.conf.voicemail.conf.public int getNewMessages()
public void setNewMessages(int newMessages)
newMessages - the number of new messages.public int getOldMessages()
public void setOldMessages(int oldMessages)
oldMessages - the number of old messages.Copyright © 2004–2021. All rights reserved.