net.sf.antcontrib.cpptasks.parser
Class CParser
java.lang.Object
net.sf.antcontrib.cpptasks.parser.AbstractParser
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CParser
public CParser()
addFilename
public void addFilename(String include)
- Specified by:
addFilename
in class AbstractParser
getIncludes
public String[] getIncludes()
- Specified by:
getIncludes
in interface Parser
getNewLineState
public AbstractParserState getNewLineState()
- Specified by:
getNewLineState
in class AbstractParser
parse
public void parse(Reader reader)
throws IOException
- Specified by:
parse
in interface Parser
- Overrides:
parse
in class AbstractParser
- Throws:
IOException
Copyright © 2001-2011. All Rights Reserved.