|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.schwering.irc.lib.IRCUser
Holds variables for the nick, username and host of a user.
It's used to pack these information in one object.
IRCEventListener,
IRCParser| Constructor Summary | |
IRCUser(java.lang.String nick,
java.lang.String username,
java.lang.String host)
Creates a new IRCUser object. |
|
| Method Summary | |
java.lang.String |
getHost()
Returns the host of the person who sent the line. |
java.lang.String |
getNick()
Returns the nickname of the person who sent the line or the servername of the server which sent the line. |
java.lang.String |
getServername()
Returns the servername of the server which sent the line or the nickname of the person who sent the line. |
java.lang.String |
getUsername()
Returns the username of the person who sent the line. |
java.lang.String |
toString()
Returns the nickname. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IRCUser(java.lang.String nick,
java.lang.String username,
java.lang.String host)
IRCUser object.
nick - The user's nickname.username - The user's username.host - The user's host.| Method Detail |
public java.lang.String getNick()
null is returned.
getServername!
null is returned.getServername(),
getUsername(),
getHost()public java.lang.String getServername()
null is returned.
getNick!
null is returned.getNick()public java.lang.String getUsername()
null.
null if it's not given.getNick(),
getHost()public java.lang.String getHost()
null.
null if it's not given.getNick(),
getUsername()public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||