learner
Class Layout

java.lang.Object
  extended by 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
 

Constructor Detail

Layout

public Layout(java.lang.String decoration,
              int pagewidth)
Method Detail

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)