|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.util.TextUtil
public class TextUtil
Text is a string divided in lines.
StringUtil| Constructor Summary | |
|---|---|
TextUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
convertTabsToSpaces(java.lang.String line,
int tabWidth)
Converts all tabs on a line to spaces according to the provided tab width. |
static java.lang.String |
formatParagraph(java.lang.String src,
int len,
boolean breakOnWs)
Formats provided string as paragraph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextUtil()
| Method Detail |
|---|
public static java.lang.String formatParagraph(java.lang.String src,
int len,
boolean breakOnWs)
public static java.lang.String convertTabsToSpaces(java.lang.String line,
int tabWidth)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||