public class UnparseText
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
UnparseText()
constructor for an UnparseText object
|
UnparseText(boolean doCountOnly)
constructor for an UnparseText object
The doCount parameter indicates whether to only keep track of line numbers or actually build up a string buffer
|
UnparseText(java.lang.String tab)
constructor for an UnparseText object
The doCount parameter indicates whether to only keep track of line numbers or actually build up a string buffer
|
Modifier and Type | Method and Description |
---|---|
void |
addOutput(java.lang.String more)
add a string to the current line of the output
|
void |
addOutputNewline(java.lang.String more)
Add string to output and end with a new line
|
void |
decrementIndent()
decrement indentation
|
java.lang.String |
getIndentString() |
int |
getLineCount()
return the line count
|
java.lang.String |
getParseOutput()
returns the generated unparse string
|
void |
incrementIndent()
increment indentation
|
void |
setDebug()
Set debug to true.
|
public static final java.lang.String copyright
public UnparseText()
public UnparseText(boolean doCountOnly)
doCountOnly
- booleanpublic UnparseText(java.lang.String tab)
tab
- initial white spacepublic void setDebug()
public void incrementIndent()
public void decrementIndent()
public java.lang.String getIndentString()
public java.lang.String getParseOutput()
public int getLineCount()
public void addOutput(java.lang.String more)
more
- String to be addedpublic void addOutputNewline(java.lang.String more)
more
- String to be added