irssibot.user
Class UserChannelInfo

java.lang.Object
  |
  +--irssibot.user.UserChannelInfo

public class UserChannelInfo
extends java.lang.Object

represents a channel info for a User

Author:
Matti Dahlbom

Field Summary
private  boolean chanAdmin
           
private  java.lang.String channelName
           
private  boolean op
           
private  boolean voice
           
 
Constructor Summary
UserChannelInfo(java.lang.String channelName, java.lang.String flags)
           
 
Method Summary
 java.lang.String getChannelFlags()
           
 java.lang.String getChannelName()
           
 boolean isChanAdmin()
           
 boolean isOp()
           
 boolean isVoice()
           
 void processChannelFlagsString(java.lang.String flags)
          go through channel flags string and turn on indicated flags
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

channelName

private java.lang.String channelName

op

private boolean op

voice

private boolean voice

chanAdmin

private boolean chanAdmin
Constructor Detail

UserChannelInfo

public UserChannelInfo(java.lang.String channelName,
                       java.lang.String flags)
Method Detail

isOp

public boolean isOp()

isVoice

public boolean isVoice()

isChanAdmin

public boolean isChanAdmin()

getChannelName

public java.lang.String getChannelName()

processChannelFlagsString

public void processChannelFlagsString(java.lang.String flags)
go through channel flags string and turn on indicated flags

Parameters:
flags - flags string

getChannelFlags

public java.lang.String getChannelFlags()


IrssiBot (c) 2000-2002 Matti Dahlbom