org.apache.myfaces.buildtools.maven2.plugin.javascript.uixtools
Class Tokenizer
java.lang.Object
org.apache.myfaces.buildtools.maven2.plugin.javascript.uixtools.Tokenizer
- All Implemented Interfaces:
- TokenReader
public class Tokenizer
- extends Object
- implements TokenReader
A Tokenizer for JavaScript source files.
- Version:
- $Name: $ ($Revision: 606225 $) $Date: 2007-12-21 16:55:00 +0100 (Fri, 21 Dec 2007) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tokenizer
public Tokenizer(BufferedReader in)
- Parameters:
in
- used to read data from the JS file
read
public Token read()
throws IOException,
InterruptedException
- reads a Token. blocks until a Token is available.
- Specified by:
read
in interface TokenReader
- Returns:
- null if the EOF is reached.
- Throws:
IOException
InterruptedException
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.