|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoze.collab.groupware.PhoneNumber
public class PhoneNumber
This class is a wrapper for phone number representations.
| Constructor Summary | |
|---|---|
PhoneNumber(String sPhoneNumber)
Constructor. |
|
PhoneNumber(String sCountryCode,
String sAreaCode,
String sNumber,
String sExtension)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Tests the equality with another phone number. |
String |
getAreaCode()
Gets the area code. |
String |
getCountryCode()
Gets the country code. |
String |
getExtension()
Gets the extension. |
String |
getNumber()
Gets the phone number. |
String |
toString()
Gets the string representation of the phone number. |
String |
toStringFormatted(boolean bDots,
boolean bAreaCodeParens)
Gets the formatted string of the phone number. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PhoneNumber(String sCountryCode,
String sAreaCode,
String sNumber,
String sExtension)
sCountryCode - the country codesAreaCode - the area codesNumber - the phone numbersExtension - the phone extensionpublic PhoneNumber(String sPhoneNumber)
sPhoneNumber - the phone number| Method Detail |
|---|
public String getAreaCode()
null)public String getCountryCode()
null)public String getNumber()
null)public String getExtension()
null)public String toString()
toString in class Object
public String toStringFormatted(boolean bDots,
boolean bAreaCodeParens)
bDots - use dots as the delimeterbAreaCodeParens - place parentheses around the area code
public boolean equals(Object obj)
equals in class Object
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||