|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautohit.common.Formatter
formatting helpers
EPG - New - 1 Jul 03
EPG - Added change to catch newlines as the end of the text - 30Jul03
Field Summary | |
int |
lineLength
|
int |
lineLimit
|
Constructor Summary | |
Formatter()
|
Method Summary | |
void |
prefixedWriter(java.lang.String initialPrefix,
java.lang.String prefix,
java.lang.String text,
java.io.Writer target)
Formatting writer that accepts an initial and subsiquent prefixes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int lineLength
public int lineLimit
Constructor Detail |
public Formatter()
Method Detail |
public void prefixedWriter(java.lang.String initialPrefix, java.lang.String prefix, java.lang.String text, java.io.Writer target) throws java.lang.Exception
initialPrefix
- prefix for the first lineprefix
- prefix for the following linestext
- the text to writetarget
- the target Writer
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |