f00f.net.irc.martyr.modes.channel
Class InviteMaskMode
java.lang.Object
f00f.net.irc.martyr.modes.GenericMode
f00f.net.irc.martyr.modes.channel.GenericChannelMode
f00f.net.irc.martyr.modes.channel.GenericChannelMask
f00f.net.irc.martyr.modes.channel.InviteMaskMode
- All Implemented Interfaces:
- Mode
public class InviteMaskMode
- extends GenericChannelMask
Channel Invitation - For channels which have the invite-only
flag set (See Section 4.2.2 (Invite Only Flag)), users whose
address matches an invitation mask set for the channel are
allowed to join the channel without any
invitation.
(From RFC2811)
Nested classes/interfaces inherited from interface f00f.net.irc.martyr.Mode |
Mode.Sign |
Method Summary |
char |
getChar()
The character that represents this mode (ie o for operator) |
Mode |
newInstance()
A Mode can be constructed and asked to make copies of itself. |
boolean |
requiresParam()
Should return true if this mode requires a parameter. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
InviteMaskMode
public InviteMaskMode()
requiresParam
public boolean requiresParam()
- Description copied from interface:
Mode
- Should return true if this mode requires a parameter.
- Returns:
- True or false if a param is required for mode
getChar
public char getChar()
- Description copied from interface:
Mode
- The character that represents this mode (ie o for operator)
- Returns:
- Character representation of mode
newInstance
public Mode newInstance()
- Description copied from interface:
Mode
- A Mode can be constructed and asked to make copies of itself.
- Returns:
- New Mode instance
Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.