picasso.parser.tokens
Class TokenFactory

java.lang.Object
  extended by picasso.parser.tokens.TokenFactory

public class TokenFactory
extends java.lang.Object

Looks at a generic token and creates the appropriate token type


Constructor Summary
TokenFactory()
           
 
Method Summary
static java.lang.String capitalize(java.lang.String s)
          Capitalizes the first letter in the string
static Token parse(java.io.StreamTokenizer tokenizer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenFactory

public TokenFactory()
Method Detail

parse

public static Token parse(java.io.StreamTokenizer tokenizer)

capitalize

public static java.lang.String capitalize(java.lang.String s)
Capitalizes the first letter in the string

Parameters:
s - - string to be capitalized
Returns:
the string capitalized