1 /* 2 * joey-gen and its relative products are published under the terms 3 * of the Apache Software License. 4 * 5 * Created on 2004/11/25 17:58:58 6 */ 7 package org.asyrinx.joey.gen.task; 8 9 /*** 10 * @author takeshi 11 */ 12 public class VelocityHelper { 13 14 /*** 15 * 16 */ 17 public VelocityHelper() { 18 super(); 19 } 20 21 public static Object newInstance(String className) { 22 try { 23 return Class.forName(className).newInstance(); 24 } catch (Exception e) { 25 return null; 26 } 27 } 28 29 }