java - GAE如何识别blobstore文件所有者

标签 java google-app-engine blobstore

我想在 GAE 中的 BlobStore 上创建一个包含多个文件的目录(文件夹)。 GAE支持吗?谢谢

最佳答案

如果您想这样做,您可能想看看 GCS:

GCS and "subdirectories"

Google Cloud Storage documentation refers to "subdirectories" and the GCS client library allows you to supply subdirectory delimiters when you create an object. However, GCS does not actually store the objects into any real subdirectory. Instead, the subdirectories are simply part of the object filename. For example, if I have a bucket my_bucket and store the file somewhere/over/the/rainbow.mp3, the file rainbow.mp3 is not really stored in the subdirectory somewhere/over/the/. It is actually a file named somewhere/over/the/rainbow.mp3.

https://developers.google.com/appengine/docs/java/googlecloudstorageclient/

因此,每个所有者一个“目录”将是最简单的方法。

关于java - GAE如何识别blobstore文件所有者,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22750329/

相关文章:

python - 在GAE中使用python上传blob数据

java - Vert.x 中的共享数据 AsyncMap 的生命周期有多长?

java - 删除错误索引 Google App Engine

java - Google 应用程序引擎 - NoClassDefFoundError : Could not initialize class org. jboss.errai.jaxrs.ErraiProvider

python - 在处理其他字段时将文件上传到 blob 存储

java - 如何按名称从 BlobStore 读取文件

java - Android Google Maps API,防止在屏幕方向更改时重新加载/重绘 map

java - 这个手术安全吗?

java - 如何使用 SAAJ 将 CDATA 添加到 SOAP 体部分

java - 如何保护 GAE 灵活环境上的 google cron 服务任务?