Package | Description |
---|---|
org.apache.velocity.runtime | |
org.apache.velocity.runtime.resource.loader | |
org.apache.velocity.spring | |
org.apache.velocity.util |
Modifier and Type | Method and Description |
---|---|
static ExtProperties |
RuntimeSingleton.getConfiguration()
Return the velocity runtime configuration object.
|
ExtProperties |
RuntimeServices.getConfiguration()
Return the velocity runtime configuration object.
|
ExtProperties |
RuntimeInstance.getConfiguration()
Return the velocity runtime configuration object.
|
Modifier and Type | Method and Description |
---|---|
static void |
RuntimeSingleton.setConfiguration(ExtProperties configuration)
Directly set the ExtProperties configuration object
|
void |
RuntimeServices.setConfiguration(ExtProperties configuration)
Allow an external system to set an ExtProperties
object to use.
|
void |
RuntimeInstance.setConfiguration(ExtProperties configuration)
Allow an external system to set an ExtProperties
object to use.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceLoader.commonInit(RuntimeServices rs,
ExtProperties configuration)
This initialization is used by all resource
loaders and must be called to set up common
properties shared by all resource loaders
|
void |
URLResourceLoader.init(ExtProperties configuration) |
void |
StringResourceLoader.init(ExtProperties configuration) |
abstract void |
ResourceLoader.init(ExtProperties configuration)
Initialize the template loader with a
a resources class.
|
void |
JarResourceLoader.init(ExtProperties configuration)
Called by Velocity to initialize the loader
|
void |
FileResourceLoader.init(ExtProperties configuration) |
void |
DataSourceResourceLoader.init(ExtProperties configuration) |
void |
ClasspathResourceLoader.init(ExtProperties configuration)
This is abstract in the base class, so we need it
|
Modifier and Type | Method and Description |
---|---|
void |
SpringResourceLoader.init(ExtProperties configuration) |
Modifier and Type | Method and Description |
---|---|
static ExtProperties |
ExtProperties.convertProperties(Map props)
Convert a Map into a configuration class.
|
static ExtProperties |
ExtProperties.convertProperties(Properties props)
Convert a standard properties class into a configuration class.
|
ExtProperties |
ExtProperties.subset(String prefix)
Create an ExtProperties object that is a subset
of this one.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtProperties.combine(ExtProperties props)
Combines an existing Hashtable with this Hashtable.
|
Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.