Package com.anthonyeden.lib.config

Examples of com.anthonyeden.lib.config.Dom4jConfiguration.save()


    // save repository entry properties
    FileOutputStream fOut = null;
    try {
      fOut = new FileOutputStream(new File(baseDirectory, PROPERTIES_FILE));
      root.save(fOut);
    } catch (IOException ioe) {
      throw new OLATRuntimeException("Error writing repo properties.", ioe);
    } catch (ConfigurationException cfe) {
      throw new OLATRuntimeException("Error writing repo properties.", cfe);
    } finally {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.