learner
Class Layout
java.lang.Object
learner.Layout
public class Layout
- extends java.lang.Object
A utility class to format output.
Constructor Summary |
Layout(java.lang.String decoration,
int pagewidth)
|
Method Summary |
java.lang.String |
hline()
|
java.lang.String |
hline(java.lang.String str,
int length)
|
java.lang.String |
line(java.lang.String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Layout
public Layout(java.lang.String decoration,
int pagewidth)
hline
public java.lang.String hline(java.lang.String str,
int length)
hline
public java.lang.String hline()
line
public java.lang.String line(java.lang.String str)