org.elasticsearch.common.settings.loader
Class PropertiesSettingsLoader

java.lang.Object
  extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.settings.loader.SettingsLoader
SettingsLoader.Helper
 
Constructor Summary
PropertiesSettingsLoader()
           
 
Method Summary
 Map<String,String> load(byte[] source)
          Loads (parses) the settings from a source bytes.
 Map<String,String> load(String source)
          Loads (parses) the settings from a source string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesSettingsLoader

public PropertiesSettingsLoader()
Method Detail

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.