Constructor and Description |
---|
PropertyPhonebook()
Initialize the phone book.
|
PropertyPhonebook(String filename)
Initialize the phone book with the given property filename.
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyFile()
getPropertyFile
|
String |
getTargetForAddress(String address)
Get an SMS message target when given an IP address.
|
void |
setPropertyFile(String filename)
setPropertyFile
|
public PropertyPhonebook()
PhonebookException
- if any.public PropertyPhonebook(String filename)
filename
- the name of the phone book filepublic void setPropertyFile(String filename)
setPropertyFile
filename
- a String
object.public String getTargetForAddress(String address) throws PhonebookException
getTargetForAddress
in interface Phonebook
address
- the IPv4 or IPv6 addressPhonebookException
- if any.Copyright © 2015. All Rights Reserved.