|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ds.fw.types.string.FwStringExpander
| Field Summary | |
char[] |
buffer
In this buffer the expanded string will be placed. |
int |
bufferLength
the buffer length |
int |
defaultLength
the default buffer length |
int |
defaultPadding
default value for buffer size increasing |
java.util.Hashtable |
macros
hashtable with macros |
java.lang.String |
template
the template string |
| Constructor Summary | |
FwStringExpander()
|
|
| Method Summary | |
static java.lang.String |
expandTemplate(java.lang.String template,
java.util.Hashtable ht)
Expands a template string, replacing the macros with their values. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.util.Hashtable macros
public java.lang.String template
public char[] buffer
public int bufferLength
public int defaultLength
public int defaultPadding
| Constructor Detail |
public FwStringExpander()
| Method Detail |
public static java.lang.String expandTemplate(java.lang.String template,
java.util.Hashtable ht)
template - the template stringht - the hashtable with macros
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||