Where sResult equals
Hello YOUR_NAME_HERE. Here is the <A HREF="http://sourceforge.net/projects/xbnjava">way cool link</a> to that website you mentioned.
Using this class, TemplateOrderedGaps, the code is a more concise:
Template t = new Template(new FLRString(sTemplate));
TOGTwo tog2Link = new TOGTwo((new FLRString(sSublink)), "link_url", "link_text");
TemplateFiller tf = new TemplateFiller();
tf.setTemplate(t);
tf.fill("name", "YOUR_NAME_HERE");
tf.fill("link", tog2Link, "http://sourceforge.net/projects/xbnjava", "way cool link");
String sResult = tf.getResult();
|
|