throw new RuntimeException(e);
}
}
public Object fromString(String str) {
Blob blob = new Blob();
try {
FileUtils.writeByteArrayToFile(blob.getFile(),
new Base64Encoder().decode(str));
} catch (Exception e) {
throw new RuntimeException(e);
}
return blob;