java.io.InputStream is = Test.Class.GetResourceAsStream("test.template");
is --->String all = "sdfsdfsfd<>"; //like....
//replice <> as user:wjp
String replace = "user:wjp";
RE r = new RE("<>");
r.subst(all,replace);
OK,you can get the replaced String ...
posted on 2006-04-13 08:48
小小程序程序员混口饭吃 阅读(295)
评论(0) 编辑 收藏 所属分类:
java