ConfigFile() throws IOException { String propertyValue = System.getProperty("config.parser"); if (propertyValue == null) { parserClassName = DEFAULT_PARSER_CLASS; } else { parserClassName = propertyValue; } this.epoch = 1; parser = ConfigFile.loadParser(parserClassName); parser.initialize(null); }
ConfigFile() throws IOException { String propertyValue = System.getProperty("config.parser"); if (propertyValue == null) { parserClassName = DEFAULT_PARSER_CLASS; } else { parserClassName = propertyValue; } this.epoch = 1; parser = ConfigFile.loadParser(parserClassName); parser.initialize(null); }
int next = epoch + 1; nextParser = (ConfigParser)createObject(parserClassName); nextParser.initialize(config);
int next = epoch + 1; nextParser = (ConfigParser)createObject(parserClassName); nextParser.initialize(config);