Package org.ini4j

Examples of org.ini4j.IniPreferences


        }
    }

    private Preferences load(Resource resource) {
        try {
            return new IniPreferences(resource.getInputStream());
        } catch (Exception e) {
            throw new ConstrettoException(e);
        }
    }
View Full Code Here


  @NotNull
  private Preferences loadPreferences() throws IOException {
    File preferencesDirectory = getRelativeDirectory( "." );
    Wini ini = new Wini( new File( preferencesDirectory, DEFAULT_CONFIG_FILE ) );
    return new IniPreferences( ini );
  }
View Full Code Here

TOP

Related Classes of org.ini4j.IniPreferences

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.