Package com.clarkparsia.empire.config.io.impl

Examples of com.clarkparsia.empire.config.io.impl.XmlConfigReader


        aConfigStream = new FileInputStream("empire.config.properties");
        aReader = new PropertiesConfigReader();
      }
      else if (new File("empire.xml").exists()) {
        aConfigStream = new FileInputStream("empire.xml");
        aReader = new XmlConfigReader();
      }
      else if (new File("empire.config.xml").exists()) {
        aConfigStream = new FileInputStream("empire.config.xml");
        aReader = new XmlConfigReader();
      }
    }
    catch (FileNotFoundException e) {
      LOGGER.error("Count not find config file: " + e.getMessage());
    }
View Full Code Here


  @Parameterized.Parameters
  public static Collection configurations() {
    return Arrays.asList(new Object[][] {
        { new PropertiesConfigReader(), getProperiesFormatConfig() },
        { new XmlConfigReader(), getXmlFormatConfig() }
    });
  }
View Full Code Here

TOP

Related Classes of com.clarkparsia.empire.config.io.impl.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.