Package org.locationtech.geogig.storage.fs

Examples of org.locationtech.geogig.storage.fs.INIFile$Comment


        File configFile = config();

        final SectionOptionPair pair = new SectionOptionPair(key);
        try {
            final INIFile ini = INIFile.forFile(configFile);
            Optional<String> val = ini.get(pair.section, pair.option);

            if (!val.isPresent())
                return Optional.absent();
            String value = val.get();
            if (Strings.isNullOrEmpty(value))
View Full Code Here


        final SectionOptionPair pair = new SectionOptionPair(key);

        File configFile = config();

        try {
            final INIFile ini = INIFile.forFile(configFile);
            ini.set(pair.section, pair.option, value);
        } catch (Exception e) {
            throw new RuntimeException("Config location invalid.");
        }
    }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.storage.fs.INIFile$Comment

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.