org.elasticsearch.common.settings.loader
Class PropertiesSettingsLoader
java.lang.Object
org.elasticsearch.common.settings.loader.PropertiesSettingsLoader
- All Implemented Interfaces:
- SettingsLoader
public class PropertiesSettingsLoader
- extends Object
- implements SettingsLoader
Settings loader that loads (parses) the settings in a properties format.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesSettingsLoader
public PropertiesSettingsLoader()
load
public Map<String,String> load(String source)
throws IOException
- Description copied from interface:
SettingsLoader
- Loads (parses) the settings from a source string.
- Specified by:
load
in interface SettingsLoader
- Throws:
IOException
load
public Map<String,String> load(byte[] source)
throws IOException
- Description copied from interface:
SettingsLoader
- Loads (parses) the settings from a source bytes.
- Specified by:
load
in interface SettingsLoader
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.