public class CacheConfigSupport extends Object
Constructor and Description |
---|
CacheConfigSupport() |
Modifier and Type | Method and 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) |
String |
toJSON(Map<String,? extends CacheConfig> configs) |
String |
toYAML(Map<String,? extends CacheConfig> configs) |
public Map<String,CacheConfig> fromJSON(String content) throws IOException
IOException
public Map<String,CacheConfig> fromJSON(File file) throws IOException
IOException
public Map<String,CacheConfig> fromJSON(URL url) throws IOException
IOException
public Map<String,CacheConfig> fromJSON(Reader reader) throws IOException
IOException
public Map<String,CacheConfig> fromJSON(InputStream inputStream) throws IOException
IOException
public String toJSON(Map<String,? extends CacheConfig> configs) throws IOException
IOException
public Map<String,CacheConfig> fromYAML(String content) throws IOException
IOException
public Map<String,CacheConfig> fromYAML(File file) throws IOException
IOException
public Map<String,CacheConfig> fromYAML(URL url) throws IOException
IOException
public Map<String,CacheConfig> fromYAML(Reader reader) throws IOException
IOException
public Map<String,CacheConfig> fromYAML(InputStream inputStream) throws IOException
IOException
public String toYAML(Map<String,? extends CacheConfig> configs) throws IOException
IOException
Copyright © 2014–2020 Redisson. All rights reserved.