| Modifier and Type | Method and Description |
|---|---|
static Resource |
Resource.createIniResource(File iniFile) |
static Resource |
Resource.createIniResource(URL iniUrl) |
static Resource |
Resource.createJsonResource(File jsonFile) |
static Resource |
Resource.createJsonResource(URL jsonUrl) |
static Resource |
Resource.createMapResource(Map<String,Object> mapConfig) |
static Resource |
Resource.createPropertiesFileResource(File propFile) |
static Resource |
Resource.createPropertiesResource(Properties propertiesConfig) |
static Resource |
Resource.createXmlResource(File xmlFile) |
static Resource |
Resource.createXmlResource(URL xmlUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
Conf.addResource(Resource resource)
Load the resource name and content in one step.
|
protected void |
PropertiesFileConfigLoader.loadConfig(ConfigImpl config,
Resource resource) |
protected void |
JsonConfigLoader.loadConfig(ConfigImpl config,
Resource resource) |
protected void |
XmlConfigLoader.loadConfig(ConfigImpl config,
Resource resource) |
protected void |
IniConfigLoader.loadConfig(ConfigImpl config,
Resource resource)
Load configs form the INI configuration format file.
|
protected abstract void |
ConfigLoader.loadConfig(ConfigImpl config,
Resource resource) |
protected void |
PropertiesConfigLoader.loadConfig(ConfigImpl config,
Resource resource) |
protected void |
MapConfigLoader.loadConfig(ConfigImpl config,
Resource resource) |
protected void |
ConfigLoader.setResource(Resource resource) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.