Examples of IniFileSettingsHolder


Examples of org.jitterbit.util.settings.IniFileSettingsHolder

    /**
     * Synchronizes access to the settings file and catches configuration exceptions.
     */
    private synchronized String getOptionImplSynchronized(String section, String name) {
        IniFileSettingsHolder settings = getSettings();
        return settings != null ? settings.getValue(section, name) : null;
    }
View Full Code Here

Examples of org.jitterbit.util.settings.IniFileSettingsHolder

    public static Map<String, String> getSection(String sectionName) {
        return conf.getSectionImpl(sectionName);
    }

    private synchronized Map<String, String> getSectionImpl(String sectionName) {
        IniFileSettingsHolder settings = getSettings();
        if (settings == null) {
            return Maps.newHashMap();
        }
        return settings.getSection(sectionName);
    }
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.