Package org.redisson.spring.cache
Class CacheConfigSupport
- java.lang.Object
-
- org.redisson.spring.cache.CacheConfigSupport
-
public class CacheConfigSupport extends Object
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description CacheConfigSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,CacheConfig>fromJSON(File file)Map<String,CacheConfig>fromJSON(InputStream inputStream)Map<String,CacheConfig>fromJSON(Reader reader)Map<String,CacheConfig>fromJSON(String content)Map<String,CacheConfig>fromJSON(URL url)Map<String,CacheConfig>fromYAML(File file)Map<String,CacheConfig>fromYAML(InputStream inputStream)Map<String,CacheConfig>fromYAML(Reader reader)Map<String,CacheConfig>fromYAML(String content)Map<String,CacheConfig>fromYAML(URL url)StringtoJSON(Map<String,? extends CacheConfig> configs)StringtoYAML(Map<String,? extends CacheConfig> configs)
-
-
-
Method Detail
-
fromJSON
public Map<String,CacheConfig> fromJSON(String content) throws IOException
- Throws:
IOException
-
fromJSON
public Map<String,CacheConfig> fromJSON(File file) throws IOException
- Throws:
IOException
-
fromJSON
public Map<String,CacheConfig> fromJSON(URL url) throws IOException
- Throws:
IOException
-
fromJSON
public Map<String,CacheConfig> fromJSON(Reader reader) throws IOException
- Throws:
IOException
-
fromJSON
public Map<String,CacheConfig> fromJSON(InputStream inputStream) throws IOException
- Throws:
IOException
-
toJSON
public String toJSON(Map<String,? extends CacheConfig> configs) throws IOException
- Throws:
IOException
-
fromYAML
public Map<String,CacheConfig> fromYAML(String content) throws IOException
- Throws:
IOException
-
fromYAML
public Map<String,CacheConfig> fromYAML(File file) throws IOException
- Throws:
IOException
-
fromYAML
public Map<String,CacheConfig> fromYAML(URL url) throws IOException
- Throws:
IOException
-
fromYAML
public Map<String,CacheConfig> fromYAML(Reader reader) throws IOException
- Throws:
IOException
-
fromYAML
public Map<String,CacheConfig> fromYAML(InputStream inputStream) throws IOException
- Throws:
IOException
-
toYAML
public String toYAML(Map<String,? extends CacheConfig> configs) throws IOException
- Throws:
IOException
-
-