| java.lang.Object |
| ↳ |
com.pnfsoftware.jeb.util.format.TextBuilder |
Known Direct Subclasses
| XmlBuilder |
A specialized text builder used to craft XML documents sequentially. |
|
Class Overview
A text buffer builder supporting indentation. Can be seen as an alternative to
StringBuilder to easily create structured documents.
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
final
void
|
wait()
|
|
Public Constructors
public
TextBuilder
(int indentationSize)
public
TextBuilder
(int indentationSize, int initialCapacity)
Public Methods
public
TextBuilder
append
(String format, Object... args)
public
TextBuilder
appendLine
(String format, Object... args)
public
void
removeChar
(int pos)
public
void
removeChars
(int start, int end)
public
void
removeLastChar
()
public
void
removeLastLine
()
public
String
toString
()
public
void
updateIndentation
(boolean doIndent)