* @throws InvocationTargetException
* if the method could not be invoked
*/
public void setString(Object object) throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
ByteStream bs = new ByteStream();
bs.setData(data);
Method setDataMethod = object.getClass().getMethod(methodName, String.class);
String dataString = new String(data);
setDataMethod.invoke(object, new Object[] {dataString});
}