diff -r 000000000000 -r f907866f0e4b trunk/test/StringTemplateTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/trunk/test/StringTemplateTest.java Tue Jan 20 10:21:03 2009 +0100 @@ -0,0 +1,26 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ + +package test; + +import com.so.news.util.StringTemplate; + +/** + * + * @author chris + */ +public class StringTemplateTest +{ + public static void main(String[] args) + { + StringTemplate templ + = new StringTemplate("SELECT %row FROM %table WHERE %row = ich"); + + templ.set("row", "name"); + templ.set("table", "UserTable"); + + System.out.println(templ.toString()); + } +}