public final class VelocityEngine extends Object
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 © 2016 JBoss by Red Hat. All rights reserved.