org.elasticsearch.common.settings.loader
Class SettingsLoaderFactory

java.lang.Object
  extended by org.elasticsearch.common.settings.loader.SettingsLoaderFactory

public final class SettingsLoaderFactory
extends Object

A settings loader factory automatically trying to identify what type of SettingsLoader to use.


Method Summary
static SettingsLoader loaderFromResource(String resourceName)
          Returns a SettingsLoader based on the resource name.
static SettingsLoader loaderFromSource(String source)
          Returns a SettingsLoader based on the actual settings source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

loaderFromResource

public static SettingsLoader loaderFromResource(String resourceName)
Returns a SettingsLoader based on the resource name.


loaderFromSource

public static SettingsLoader loaderFromSource(String source)
Returns a SettingsLoader based on the actual settings source.



Copyright © 2009-2012. All Rights Reserved.