Java Code Examples for org.apache.commons.configuration.FileConfiguration#getKeys()
The following examples show how to use
org.apache.commons.configuration.FileConfiguration#getKeys() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ConfigurationSubscription.java From distributedlog with Apache License 2.0 | 5 votes |
private void loadView(FileConfiguration fileConfig) { Iterator fileIter = fileConfig.getKeys(); while (fileIter.hasNext()) { String key = (String) fileIter.next(); setViewProperty(fileConfig, key, fileConfig.getProperty(key)); } }
Example 2
Source File: ConfigurationSubscription.java From distributedlog with Apache License 2.0 | 5 votes |
private void loadView(FileConfiguration fileConfig) { Iterator fileIter = fileConfig.getKeys(); while (fileIter.hasNext()) { String key = (String) fileIter.next(); setViewProperty(fileConfig, key, fileConfig.getProperty(key)); } }