Search code examples
javagoogle-app-engineblobstoredatastore

How to read content of a blob and write to GAE datastore (Java)


How to read content of a blob and write to GAE datastore in java.


Solution

  • You can use FileService API to create/write/read files in Blobstore. When you read byte array from file, then you can easily add as a property to Datastore entity and save it.