Package org.redisson.config
Class ConfigSupport
java.lang.Object
org.redisson.config.ConfigSupport
- Author:
- Nikita Koksharov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.fasterxml.jackson.databind.ObjectMapperprotected final com.fasterxml.jackson.databind.ObjectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T<T> TfromJSON(File file, Class<T> configType, ClassLoader classLoader) <T> TfromJSON(InputStream inputStream, Class<T> configType) <T> T<T> T<T> T<T> T<T> TfromYAML(File file, Class<T> configType, ClassLoader classLoader) <T> TfromYAML(InputStream inputStream, Class<T> configType) <T> T<T> T<T> Tstatic BaseConfig<?>
-
Field Details
-
jsonMapper
protected final com.fasterxml.jackson.databind.ObjectMapper jsonMapper -
yamlMapper
protected final com.fasterxml.jackson.databind.ObjectMapper yamlMapper
-
-
Constructor Details
-
ConfigSupport
public ConfigSupport()
-
-
Method Details
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
fromJSON
- Throws:
IOException
-
toJSON
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
fromYAML
- Throws:
IOException
-
toYAML
- Throws:
IOException
-
getConfig
-