net.sf.antcontrib.cpptasks.parser
Class AbstractParser

java.lang.Object
  extended by net.sf.antcontrib.cpptasks.parser.AbstractParser
Direct Known Subclasses:
BorlandCfgParser, CParser, FortranParser, MetaObjectParser

public abstract class AbstractParser
extends java.lang.Object

An abstract base class for simple parsers

Author:
Curt Arnold

Constructor Summary
protected AbstractParser()
           
 
Method Summary
protected abstract  void addFilename(java.lang.String filename)
           
abstract  AbstractParserState getNewLineState()
           
protected  void parse(java.io.Reader reader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractParser

protected AbstractParser()
Method Detail

addFilename

protected abstract void addFilename(java.lang.String filename)

getNewLineState

public abstract AbstractParserState getNewLineState()

parse

protected void parse(java.io.Reader reader)
              throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2001-2008 Ant-Contrib Project. All Rights Reserved.