org.codehaus.swizzle
Class Lexer

java.lang.Object
  extended by org.codehaus.swizzle.Lexer

public class Lexer
extends Object


Constructor Summary
Lexer(byte[] bytes, Pattern[][] patterns)
           
Lexer(byte[] bytes, String[][] token)
           
 
Method Summary
 String find(String patternStr, CharSequence input)
           
 String nextToken()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lexer

public Lexer(byte[] bytes,
             String[][] token)

Lexer

public Lexer(byte[] bytes,
             Pattern[][] patterns)
Method Detail

nextToken

public String nextToken()
                 throws Exception
Throws:
Exception

find

public String find(String patternStr,
                   CharSequence input)


Copyright © 2012 The Codehaus Foundation. All Rights Reserved.