public class JsonMapIoFactory extends AbstractMapReaderFactory implements MapWriterFactory
customAttributionSupported| Constructor and Description |
|---|
JsonMapIoFactory() |
| Modifier and Type | Method and Description |
|---|---|
Reader<Map<String,Object>> |
createMapReader(org.springframework.core.io.Resource resource) |
MapWriter |
getMapWriter(OutputStream out) |
MapWriter |
getMapWriter(OutputStream out,
Charset charset) |
MapWriter |
getMapWriter(org.springframework.core.io.Resource resource) |
MapWriter |
getMapWriter(Writer out) |
boolean |
isCustomAttributionSupported() |
boolean |
isGeometrySupported() |
static Map<String,Object> |
toMap(File file) |
static Map<String,Object> |
toMap(File directory,
String path) |
static Map<String,Object> |
toMap(InputStream in) |
static Map<String,Object> |
toMap(org.springframework.core.io.Resource resource) |
static Map<String,String> |
toMap(String string) |
static List<Map<String,Object>> |
toMapList(String string) |
static Map<String,Object> |
toObjectMap(String string) |
static String |
toString(List<? extends Map<String,Object>> list) |
static String |
toString(Map<String,? extends Object> values) |
static String |
toString(Map<String,? extends Object> values,
boolean indent) |
static void |
write(Map<String,? extends Object> object,
File file) |
static void |
write(Map<String,? extends Object> object,
File file,
boolean indent) |
static void |
write(Map<String,? extends Object> object,
org.springframework.core.io.Resource resource) |
static void |
write(Map<String,? extends Object> object,
org.springframework.core.io.Resource resource,
boolean indent) |
getMapReaderFactory, isSingleFile, mapReader, setCustomAttributionSupported, setSingleFileaddMediaType, addMediaTypeAndFileExtension, getFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, init, isAvailable, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFileExtension, getFileExtensions, getMediaType, getMediaTypes, getName, init, isAvailablepublic static Map<String,Object> toMap(InputStream in)
public static void write(Map<String,? extends Object> object, org.springframework.core.io.Resource resource)
public static void write(Map<String,? extends Object> object, org.springframework.core.io.Resource resource, boolean indent)
public Reader<Map<String,Object>> createMapReader(org.springframework.core.io.Resource resource)
createMapReader in interface MapReaderFactorypublic MapWriter getMapWriter(OutputStream out)
getMapWriter in interface MapWriterFactorypublic MapWriter getMapWriter(OutputStream out, Charset charset)
getMapWriter in interface MapWriterFactorypublic MapWriter getMapWriter(org.springframework.core.io.Resource resource)
getMapWriter in interface MapWriterFactorypublic MapWriter getMapWriter(Writer out)
getMapWriter in interface MapWriterFactorypublic boolean isCustomAttributionSupported()
isCustomAttributionSupported in interface MapReaderFactoryisCustomAttributionSupported in interface MapWriterFactoryisCustomAttributionSupported in class AbstractMapReaderFactorypublic boolean isGeometrySupported()
isGeometrySupported in interface MapWriterFactoryCopyright © 2015 Revolution Systems Inc.. All rights reserved.