org.relayirc.util
Class ParsedToken

java.lang.Object
  |
  +--org.relayirc.util.ParsedToken

public class ParsedToken
extends java.lang.Object

Super-simple string parser.

Author:
David M. Johnson.

Field Summary
 int index
          Position that string token was found in string
 java.lang.String token
          String token
 
Constructor Summary
ParsedToken()
           
 
Method Summary
static ParsedToken[] stringToParsedTokens(java.lang.String s, java.lang.String delim)
          Parse string into array of ParsedTokens
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token

public java.lang.String token
String token

index

public int index
Position that string token was found in string
Constructor Detail

ParsedToken

public ParsedToken()
Method Detail

stringToParsedTokens

public static ParsedToken[] stringToParsedTokens(java.lang.String s,
                                                 java.lang.String delim)
Parse string into array of ParsedTokens