Class DisplayTool.Measurements
- java.lang.Object
-
- org.apache.velocity.tools.generic.DisplayTool.Measurements
-
- Enclosing class:
- DisplayTool
public static class DisplayTool.Measurements extends java.lang.Object
Measures the dimensions of the string given to its constructor. Height is the number of lines in the string. Width is the number of characters in the longest line.
-
-
Constructor Summary
Constructors Constructor Description Measurements(java.lang.String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getHeight()
int
getWidth()
java.lang.String
toString()
-