Find a constructor with the a single parameter
that matches the type parameterType the value Object
e.g String str = TClass.newInstance("java.lang.String", ("java.lang.String", new String("1960-03-19")); // JDBCFormat = yyyy-mm-dd
or String str = TClass.newInstance("org.jutil.fwk.std.JuDate", "java.lang.String", "1960-03-19"); // JDBCFormat = yyyy-mm-dd
Find a constructor with the a single parameter
that matches the type parameterType the value Object
e.g String str = TClass.newInstance(Class.forName("java.lang.String"), Class.forName("java.lang.String"), new String("1960-03-19")); // JDBCFormat = yyyy-mm-dd
or String str = TClass.newInstance(Class.forName("org.jutil.fwk.std.JuDate"), Class.forName("java.lang.String"), "1960-03-19"); // JDBCFormat = yyyy-mm-dd
Find a constructor with the multiple parameters
that matches the type parameterType the value Object
e.g
Class[] types = new Class[];
Object[] args = new Object[];
args[0] = new BigDecimal(10.99);
types[0] = args[0].getClass();
args[1] = new Locale("en", 'NZ");
types[1] = args[1].getClass();
JuCurrency juCurrency = TClass.newInstance(Class.forName("org.jutil.fwk.bo.JuCurrency"), types, args);
NEWLINE -
Static variable in interface org.jutil.Const
NEWLINE, cached value of System.getProperty("line.separator")
NEWLINE -
Static variable in class org.jutil.text.html.HtmlConst