public final class VelocityEngine
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
VelocityEngine()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.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(java.util.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
java.util.Properties props)
props - velocity engine properties@Nonnull public static java.util.Properties getDefaultProperties()