Class VelocityFormatter.VelocityAutoAlternator

    • Constructor Detail

      • VelocityAutoAlternator

        public VelocityAutoAlternator​(java.lang.String[] alternates)
        Constructor takes an array of Strings.
        Parameters:
        alternates - A String[].
    • Method Detail

      • toString

        public final java.lang.String toString()
        Returns the current alternate, and automatically alternates to the next alternate in its sequence (trigged upon rendering).
        Overrides:
        toString in class VelocityFormatter.VelocityAlternator
        Returns:
        The current alternate in the sequence.