The blob is checked with a is writable method.
使用可写方法检查blob。
The code used is :
使用的代码是:
FileService fileService = FileServiceFactory.getFileService();
AppEngineFile file = fileService.getBlobFile(str);
Boolean writea=file.isWritable();
The value of writea displays true. So it refers that the blob is not finalized and can be used again (if I'm right).
writea的值显示为true。所以它指的是blob没有最终确定并且可以再次使用(如果我是对的)。
Now my question is how to retrieve the blob and use it?
现在我的问题是如何检索blob并使用它?
1 个解决方案
#1
0
Blobs can not be read while they are writeable. Before you finalize them they are write-only, after that they are read-only.
Blob在可写时无法读取。在最终确定它们之前,它们是只写的,之后它们是只读的。
#1
0
Blobs can not be read while they are writeable. Before you finalize them they are write-only, after that they are read-only.
Blob在可写时无法读取。在最终确定它们之前,它们是只写的,之后它们是只读的。