Package railo.commons.io.ini

Examples of railo.commons.io.ini.IniFile.save()


  public static String call(PageContext pc , String fileName, String section, String key, String value) throws PageException {
      try {
        Resource res = ResourceUtil.toResourceNotExisting(pc,fileName);
            IniFile ini = new IniFile(res);
            ini.setKeyValue(section, key,value);
            ini.save();
        }
        catch (IOException e) {
            throw Caster.toPageException(e);
        }
        return "";
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.