com.servingxml.util
Class LineFormatter
java.lang.Object
com.servingxml.util.LineFormatter
- All Implemented Interfaces:
- Formatter
public class LineFormatter
- extends java.lang.Object
- implements Formatter
The LineFormatter
formats a line of text
Method Summary |
java.lang.String |
format(java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineFormatter
public LineFormatter(int length,
Alignment alignment,
char padCharacter)
LineFormatter
public LineFormatter(int minLength,
int maxLength,
Alignment alignment,
char padCharacter)
format
public java.lang.String format(java.lang.String value)
- Specified by:
format
in interface Formatter