public abstract class XContentSettingsLoader extends java.lang.Object implements SettingsLoader
SettingsLoader.Helper
Modifier and Type | Method and Description |
---|---|
abstract XContentType |
contentType() |
java.util.Map<java.lang.String,java.lang.String> |
load(byte[] source)
Loads (parses) the settings from a source bytes.
|
java.util.Map<java.lang.String,java.lang.String> |
load(java.lang.String source)
Loads (parses) the settings from a source string.
|
java.util.Map<java.lang.String,java.lang.String> |
load(XContentParser jp) |
public abstract XContentType contentType()
public java.util.Map<java.lang.String,java.lang.String> load(java.lang.String source) throws java.io.IOException
SettingsLoader
load
in interface SettingsLoader
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> load(byte[] source) throws java.io.IOException
SettingsLoader
load
in interface SettingsLoader
java.io.IOException
public java.util.Map<java.lang.String,java.lang.String> load(XContentParser jp) throws java.io.IOException
java.io.IOException