I have uploaded a csv file to blobstore using blobstoreService.now how can i parse this csv file using blobkey.that is how I read this file in a inputstream kind of thing
I have uploaded a csv file to blobstore using blobstoreService.now how can i parse
Share
You can get the file InputStream via BlobKey(String blobKey) as constructor parameter to BlobstoreInputStream(BlobKey blobKey).
For example:
For parsing CSV file, you can consider use opencsv‘s CSVReader.
For example: