Package de.xanders.common.config

Examples of de.xanders.common.config.XmlConfigReader


    InputStream log4jInputStream = servletContext.getResourceAsStream(log4jSourceName);
    Log4JConfigReader log4JConfigReader = new Log4JConfigReader(log4jInputStream);

    String configSourceName = servletContext.getInitParameter(XANDERSONE_CONFIG);
    InputStream configInputStream = servletContext.getResourceAsStream(configSourceName); */
    XmlConfigReader xmlConfigReader = new XmlConfigReader();
    configParams = xmlConfigReader.getProperties();
    Iterator iter = configParams.entrySet().iterator();
    while (iter.hasNext()) {
      entry = (Entry) iter.next();
      servletContext.setAttribute((String)entry.getKey(), (String)entry.getValue());
      System.out.println("Property: " + (String)entry.getKey() + " => " + (String)entry.getValue());
View Full Code Here

TOP

Related Classes of de.xanders.common.config.XmlConfigReader

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.