net.sf.antcontrib.cpptasks.parser
Class CParser

java.lang.Object
  extended by net.sf.antcontrib.cpptasks.parser.AbstractParser
      extended by net.sf.antcontrib.cpptasks.parser.CParser
All Implemented Interfaces:
Parser

public final class CParser
extends AbstractParser
implements Parser

A parser that extracts #include statements from a Reader.

Author:
Adam Murdoch, Curt Arnold

Constructor Summary
CParser()
           
 
Method Summary
 void addFilename(java.lang.String include)
           
 java.lang.String[] getIncludes()
           
 AbstractParserState getNewLineState()
           
 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

CParser

public CParser()
Method Detail

addFilename

public void addFilename(java.lang.String include)
Specified by:
addFilename in class AbstractParser

getIncludes

public java.lang.String[] getIncludes()
Specified by:
getIncludes in interface Parser

getNewLineState

public AbstractParserState getNewLineState()
Specified by:
getNewLineState in class AbstractParser

parse

public void parse(java.io.Reader reader)
           throws java.io.IOException
Specified by:
parse in interface Parser
Overrides:
parse in class AbstractParser
Throws:
java.io.IOException


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