com.northconcepts.datapipeline.core
Class Parser

java.lang.Object
  extended by com.northconcepts.datapipeline.core.Parser

public class Parser
extends Object


Field Summary
static int EOF
           
 
Constructor Summary
Parser(Reader reader)
           
Parser(String text)
           
 
Method Summary
 void close()
           
 void consume()
           
 void consume(int count)
           
 void consumeWhitespace()
           
 DataException exception(Throwable exception)
           
 int getColumn()
           
 void match(char expectedChar)
           
 void match(char expectedChar, String failureMessage)
           
 int peek(int index)
           
 int pop()
           
 void pruneCache()
           
 boolean ready()
           
 void resetColumn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOF

public static final int EOF
See Also:
Constant Field Values
Constructor Detail

Parser

public Parser(Reader reader)

Parser

public Parser(String text)
Method Detail

exception

public DataException exception(Throwable exception)

ready

public boolean ready()
              throws IOException
Throws:
IOException

getColumn

public int getColumn()

resetColumn

public void resetColumn()

pruneCache

public void pruneCache()

peek

public int peek(int index)

pop

public int pop()

match

public void match(char expectedChar,
                  String failureMessage)

match

public void match(char expectedChar)

consume

public void consume()

consume

public void consume(int count)

consumeWhitespace

public void consumeWhitespace()

close

public void close()


Copyright (c) 2007-2009 North Concepts Inc. All Rights Reserved.