[stringtemplate-interest] v4 ST

Terence Parr parrt at cs.usfca.edu
Tue Oct 6 16:38:57 PDT 2009


heh, to distinguish between v4 and v3, I'm thinkingof using ST not  
StringTemplate for main class. Also using inject (or add) instead of  
setAttribute:

         ST st = new ST("hi, <name>.");
         st.inject("name", "Ter");

Is that ok with people?
Ter


More information about the stringtemplate-interest mailing list