|
|||||||||
| Home >> All >> cosmoworx >> util >> [ text overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
cosmoworx.util.text
Class Indenter

java.lang.Objectcosmoworx.util.text.Indenter
- public class Indenter
- extends java.lang.Object
Indentation utility.
| Constructor Summary | |
Indenter()
|
|
| Method Summary | |
static boolean |
canUnindent(java.lang.String asText)
|
private static java.lang.String |
createIndent(int anIndent)
|
private static java.lang.String |
createIndent(int anIndent,
char arChar)
|
private static java.lang.String |
createSoftTab(int anSoftTabWidth)
|
static java.lang.String |
indent(java.lang.String asText,
int anIndent)
Indent the text. |
static java.lang.String |
indent(java.lang.String asText,
int anIndent,
char arChar)
Indent the text with the specified char. |
static java.lang.String |
unindent(java.lang.String asText)
Unindent the text. |
private static void |
writeIndent(java.io.Writer acWriter,
int anIndent)
|
private static void |
writeIndent(java.io.Writer acWriter,
int anIndent,
char arChar)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Indenter
public Indenter()
| Method Detail |
writeIndent
private static final void writeIndent(java.io.Writer acWriter, int anIndent) throws java.io.IOException
writeIndent
private static final void writeIndent(java.io.Writer acWriter, int anIndent, char arChar) throws java.io.IOException
createIndent
private static final java.lang.String createIndent(int anIndent)
createIndent
private static final java.lang.String createIndent(int anIndent, char arChar)
createSoftTab
private static final java.lang.String createSoftTab(int anSoftTabWidth)
indent
public static final java.lang.String indent(java.lang.String asText, int anIndent)
- Indent the text.
indent
public static final java.lang.String indent(java.lang.String asText, int anIndent, char arChar)
- Indent the text with the specified char.
canUnindent
public static final boolean canUnindent(java.lang.String asText)
unindent
public static final java.lang.String unindent(java.lang.String asText)
- Unindent the text.
|
|||||||||
| Home >> All >> cosmoworx >> util >> [ text overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
cosmoworx.util.text.Indenter