edu.umd.cs.findbugs

Class Tokenizer

public class Tokenizer extends Object

A simple tokenizer for Java source text. This is not intended to be a compliant lexer; instead, it is for quick and dirty scanning.

Author: David Hovemeyer

See Also: Token

Constructor Summary
Tokenizer(Reader reader)
Constructor.
Method Summary
Tokennext()
Get the next Token in the stream.

Constructor Detail

Tokenizer

public Tokenizer(Reader reader)
Constructor.

Parameters: reader the Reader for the Java source text

Method Detail

next

public Token next()
Get the next Token in the stream.

Returns: the Token

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.