My app allows to upload csv file with some data.
I want to extract those data and upload them into datastore, but let’s assume for this question, that I just want to count lines in text file.
What is the best approach to make that task done. Could you give me some code sniplet?
public int countLines(BlobKey key){
//mising code
}
The BlobstoreInputStream extends InputStream so you can do something like this —