java - How to read the contents of an uploaded blob? -
i'm using blobstore upload simple text file using doc: https://cloud.google.com/appengine/docs/java/blobstore/#java_uploading_a_blob . understand docs how save , serve blob users, don't understand how can servlet handle file upload read contents of text file?
in python there blobreader class this. (https://cloud.google.com/appengine/docs/python/blobstore/blobreaderclass)
it seems using java though. there not seem equivalent class in java. use gcs backing blobstore (https://cloud.google.com/appengine/docs/java/blobstore/#java_using_the_blobstore_api_with_google_cloud_storage). way files uploaded blobstore accessibly in gcs.
you can read file using gcs client library java.
Comments
Post a Comment