Convert the string that has been accumulated into an Object. Subclasses
may override this. Note that if the javaType is a primitive, the returned
object is a wrapper class.
byte [] value = Base64.decode(source);
if (value == null) {
if (javaType == Byte[].class) {
return new Byte[0];
} else {
return new byte[0];
}
}
if (javaType == Byte[].class) {
Byte[] data = new Byte[ value.length ];
for (int i=0; i<data.length; i++) {
byte b = value[i];
data[i] = new Byte(b);
}
return data;
}
return value;