net.thucydides.core.csv
Class InstanceBuilder
java.lang.Object
net.thucydides.core.csv.InstanceBuilder
public final class InstanceBuilder
- extends Object
Helper class for finding and invoking constructors.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstanceOf
public static <T> T newInstanceOf(Class<T> clazz,
Object... constructorArgs)
throws InstantiationException,
IllegalAccessException,
InvocationTargetException
- Throws:
InstantiationException
IllegalAccessException
InvocationTargetException
invokeConstructorFor
public static <T> T invokeConstructorFor(Class<T> clazz,
Object[] constructorArgs)
throws InvocationTargetException,
IllegalAccessException,
InstantiationException
- Throws:
InvocationTargetException
IllegalAccessException
InstantiationException
setPropertyValue
public void setPropertyValue(String property,
String value)
inObject
public static <T> InstanceBuilder inObject(T newObject)
Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.