public final class VelocityEngine extends Object
Modifier | Constructor and Description |
---|---|
private |
VelocityEngine()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static Properties |
getDefaultProperties()
Returns the default velocity engine properties.
|
static org.apache.velocity.app.VelocityEngine |
newVelocityEngine()
Creates a new velocity engine with default properties.
|
static org.apache.velocity.app.VelocityEngine |
newVelocityEngine(Properties props)
Creates a new velocity engine with the supplied properties.
|
@Nonnull public static org.apache.velocity.app.VelocityEngine newVelocityEngine()
getDefaultProperties()
.@Nonnull public static org.apache.velocity.app.VelocityEngine newVelocityEngine(@Nonnull Properties props)
props
- velocity engine properties@Nonnull public static Properties getDefaultProperties()
Copyright © 1999–2017. All rights reserved.