public class TextLib
extends java.lang.Object
History:
Constructor and Description |
---|
TextLib()
Creates a default lexical record object
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
AddToText(java.lang.String orgText,
java.lang.String slot,
boolean flag,
int numIndent)
Add a boolean flag to a lexical record
|
static java.lang.String |
AddToText(java.lang.String orgText,
java.lang.String slot,
java.lang.String filler,
int numIndent)
Add a filler to a lexical record
|
static java.lang.String |
AddToText(java.lang.String orgText,
java.lang.String slot,
java.util.Vector<java.lang.String> fillers,
int numIndent)
Add a collection of fillers to a lexical record
|
public static java.lang.String AddToText(java.lang.String orgText, java.lang.String slot, java.util.Vector<java.lang.String> fillers, int numIndent)
orgText
- the original textslot
- the slot of the fillerfillers
- a collectionof fillersnumIndent
- number of indentpublic static java.lang.String AddToText(java.lang.String orgText, java.lang.String slot, java.lang.String filler, int numIndent)
orgText
- the original textslot
- the slot of the fillerfiller
- a filler to be addednumIndent
- number of indentpublic static java.lang.String AddToText(java.lang.String orgText, java.lang.String slot, boolean flag, int numIndent)
orgText
- the original textslot
- the slot of the boolean flagflag
- boolean flagnumIndent
- number of indent