import org.nutz.plugin.Plugin;
public class Trim implements RunMethod, Plugin{
public Object run(List<Object> fetchParam) {
if(fetchParam.size() <= 0){
throw new ElException("trim方法参数错误");
}
String obj = (String) fetchParam.get(0);
return obj.trim();
}