|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.berlios.suzy.irc.IrcTarget
public class IrcTarget
Specifies a target on irc. Typically this would be a channel or a user.
Constructor Summary | |
---|---|
IrcTarget(java.lang.String user,
java.lang.String channel,
boolean isPrivate)
Creates a new Target with the given user and channel |
Method Summary | |
---|---|
java.lang.String |
getChannel()
the channel that is specified by this target, if any |
java.lang.String |
getDefaultTarget()
This will return the appropriate method to contact the target specified by this instance. |
java.lang.String |
getUser()
the user that is specified by this target |
boolean |
isPrivate()
This method tells you if the user specified by this target expects a message in a channel or in private. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IrcTarget(java.lang.String user, java.lang.String channel, boolean isPrivate)
user
- the user that is specified by this targetchannel
- channel that is specified by this target, if anyisPrivate
- whether or not the target is created from a user which
expects text in a private message rather than a channelMethod Detail |
---|
public boolean isPrivate()
public java.lang.String getUser()
public java.lang.String getChannel()
public java.lang.String getDefaultTarget()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |