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