public class JsonLoader extends Object implements ConfigLoader
COMPONENT, COMPONENTS, CONFIG, ENTRIES, ENTRY, EXPORT, FILE, FILES, GLOBALPROPERTIES, IMPORT, INHERIT, ITEM, KEY, LEASETIME, LOCATION, NAME, PROPERTIES, PROPERTY, PROPERTYLIST, PROPERTYMAP, SERIALIZED, SERIALIZEDOBJECTS, TYPE, VALUE| Constructor and Description |
|---|
JsonLoader(com.fasterxml.jackson.core.JsonFactory factory,
URLLoader parent,
Map<String,ConfigurationData> rpdMap,
Map<String,ConfigurationData> existingRPD,
Map<String,SerializedObject> serializedObjects,
GlobalProperties globalProperties) |
| Modifier and Type | Method and Description |
|---|---|
GlobalProperties |
getGlobalProperties() |
Map<String,ConfigurationData> |
getPropertyMap() |
Map<String,SerializedObject> |
getSerializedObjects() |
void |
load(InputStream stream)
Loads json configuration data from the stream
|
void |
load(URL url)
Loads json configuration data from the location
|
public JsonLoader(com.fasterxml.jackson.core.JsonFactory factory, URLLoader parent, Map<String,ConfigurationData> rpdMap, Map<String,ConfigurationData> existingRPD, Map<String,SerializedObject> serializedObjects, GlobalProperties globalProperties)
public final void load(URL url) throws ConfigLoaderException
load in interface ConfigLoaderConfigLoaderExceptionpublic void load(InputStream stream) throws ConfigLoaderException
load in interface ConfigLoaderConfigLoaderExceptionpublic Map<String,ConfigurationData> getPropertyMap()
public Map<String,SerializedObject> getSerializedObjects()
public GlobalProperties getGlobalProperties()
Copyright © 2022. All rights reserved.