public class VelocityFormatter.VelocityAlternator
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
alternates |
protected int |
current |
| Constructor and Description |
|---|
VelocityAlternator(java.lang.String[] alternates)
Constructor takes an array of Strings.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
alternate()
Alternates to the next in the list.
|
java.lang.String |
toString()
Returns the current alternate.
|