f00f.net.irc.martyr.util
Class CtcpUtil

java.lang.Object
  extended by f00f.net.irc.martyr.util.CtcpUtil

public class CtcpUtil
extends java.lang.Object


Nested Class Summary
static class CtcpUtil.CtcpTokenizer
          Parses the string into tokens, where each token is either a CTCP escaped sequence or not.
 
Field Summary
static char CTCP_TAG_DELIM
           
 
Constructor Summary
CtcpUtil()
           
 
Method Summary
static java.lang.String makeActionString(java.lang.String action)
          Returns a new string ready for sending via MessageCommand.
static java.lang.String makeCtcpString(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CTCP_TAG_DELIM

public static final char CTCP_TAG_DELIM
See Also:
Constant Field Values
Constructor Detail

CtcpUtil

public CtcpUtil()
Method Detail

makeActionString

public static java.lang.String makeActionString(java.lang.String action)
Returns a new string ready for sending via MessageCommand.

Parameters:
action - Action string to create
Returns:
Action string ready for sending

makeCtcpString

public static java.lang.String makeCtcpString(java.lang.String s)


Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.