| java.lang.Object net.sourceforge.sqlunit.parsers.SymbolParser
SymbolParser | public class SymbolParser implements SymbolParserConstants(Code) | | Contains specifications and grammar for parsing Strings and replacing
embedded ant-style variables with values from the SymbolTable.
author: Sujit Pal (sujit.pal@cnet.com) version: $Revision: 1.1 $ |
disable_tracing | final public void disable_tracing()(Code) | | |
enable_tracing | final public void enable_tracing()(Code) | | |
parse | public static String parse(String str, Map syms, boolean partialOk) throws ParseException(Code) | | This is the method that will be called from the client.
Parameters: str - the String with embedded ant-style variables. Parameters: syms - a Map of symbols in the SymbolTable. Parameters: partialOk - if true, exception will not be thrown if variable is not found, it is assumed that this will be passedin later. throws: ParseException - if there was a problem parsing the String,or if a variable could not be found in the SymbolTable. a String with the variables replaced by their values. |
|
|