|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object YahooChatUser
Wraps a regular user object to provide the extra information provided by a chat user.
Constructor Summary | |
YahooChatUser()
|
Method Summary | |
int |
getAge()
Returns the age of the user, or zero if not given. |
String |
getAlias()
Returns the alias of this user in the current chatroom, or null if no alias. |
String |
getId()
Returns the user's Yahoo id. |
String |
getLocation()
Returns the location of this user, or null if not specified. |
YahooUser |
getUser()
Returns the underlying user object. |
boolean |
hasWebcam()
Returns true if this user has an accessible webcam. |
boolean |
isFemale()
Returns true if this user's profile shows them as female. |
boolean |
isMale()
Returns true if this user's profile shows them as male. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public YahooChatUser()
Method Detail |
public YahooUser getUser()
public String getId()
getUser().getId()
.
public int getAge()
public String getAlias()
public String getLocation()
public boolean isMale()
public boolean isFemale()
public boolean hasWebcam()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |