author | chris <chris@marvin> |
Tue, 20 Jan 2009 10:21:03 +0100 | |
changeset 0 | f907866f0e4b |
permissions | -rw-r--r-- |
1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
6 package test;
8 import com.so.news.util.StringTemplate;
10 /**
11 *
12 * @author chris
13 */
14 public class StringTemplateTest
15 {
16 public static void main(String[] args)
17 {
18 StringTemplate templ
19 = new StringTemplate("SELECT %row FROM %table WHERE %row = ich");
21 templ.set("row", "name");
22 templ.set("table", "UserTable");
24 System.out.println(templ.toString());
25 }
26 }