Package org.ini4j

Examples of org.ini4j.Config


        public boolean apply(String line) {
          return !line.contains("Opera Preferences version");
        }
      });

      Config config = new Config();
      // This config setting makes sure we can handle pref lines without
      // '=' chars in them. Such prefs will be treated as having value null.
      config.setEmptyOption(true);
      // This config setting makes sure we can handle pref lines with '\' in them.
      config.setEscape(false);
      Ini ini = new Ini();
      ini.setConfig(config);
      ini.load(new StringReader(Joiner.on("\n").join(filteredLines)));
      return ini;
    } catch (IOException e) {
View Full Code Here

TOP

Related Classes of org.ini4j.Config

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.