|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.exolab.javasource.JCommentFormatter
public final class JCommentFormatter
A class to format comments.
| Constructor Summary | |
|---|---|
JCommentFormatter(java.lang.String comment,
int maxLength,
java.lang.String prefix)
Creates a new LineFormatter for the given comment. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreLines()
|
java.lang.String |
nextLine()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JCommentFormatter(java.lang.String comment,
int maxLength,
java.lang.String prefix)
comment - The String to format.maxLength - The maximum number of characters per line.prefix - A prefix to append to the beginning of each line.| Method Detail |
|---|
public boolean hasMoreLines()
public java.lang.String nextLine()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||