|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.sms.phonebook.PropertyPhonebook
public class PropertyPhonebook
PropertyPhonebook class.
| Constructor Summary | |
|---|---|
PropertyPhonebook()
Initialize the phone book. |
|
PropertyPhonebook(String filename)
Initialize the phone book with the given property filename. |
|
| Method Summary | |
|---|---|
String |
getPropertyFile()
getPropertyFile |
String |
getTargetForAddress(String address)
Get an SMS message target given an IP address. |
void |
setPropertyFile(String filename)
setPropertyFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyPhonebook()
PhonebookException - if any.public PropertyPhonebook(String filename)
filename - the name of the phone book file
PhonebookException - if any.| Method Detail |
|---|
public String getPropertyFile()
getPropertyFile
String object.public void setPropertyFile(String filename)
setPropertyFile
filename - a String object.
public String getTargetForAddress(String address)
throws PhonebookException
getTargetForAddress in interface Phonebookaddress - the IP address
PhonebookException - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||