Package org.ice.config

Examples of org.ice.config.IConfigParser


   
    try {
      String outputClass = sc.getInitParameter("ice.config.output");
      Object obj = FieldUtils.loadClass(outputClass);
     
      IConfigParser parser = ConfigParserFactory.getParser(sc.getInitParameter("ice.config.parser"));
      if (obj instanceof IConfigData) {
        data = (IConfigData) obj;
      }
      parser.parse(sc, sc.getInitParameter("ice.config.source"), data);
    } catch(Exception ex) {
      System.out.println("Error while parsing configuration");
      ex.printStackTrace();
      return;
    }
View Full Code Here

TOP

Related Classes of org.ice.config.IConfigParser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.