Example usage for org.apache.commons.configuration2 HierarchicalConfiguration toString

List of usage examples for org.apache.commons.configuration2 HierarchicalConfiguration toString

Introduction

In this page you can find the example usage for org.apache.commons.configuration2 HierarchicalConfiguration toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:com.github.technosf.posterer.modules.commons.config.CommonsConfiguratorPropertiesImpl.java

/**
 * Load saved proxies into current session
 *//*w w w  .  java2  s  .  c om*/
@SuppressWarnings("null")
private void initializeKeyStoreSet() {
    for (HierarchicalConfiguration<ImmutableNode> c : config.configurationsAt((PROP_KEYSTORES_KEYSTORE))) {
        String filepath = c.toString();
        if (filepath != null && !filepath.isEmpty()) {
            if (!putIfAbsent(filepath)) {
                c.clear();
                dirty();
            }
        }
    }

}