-1
我已經使用在以下鏈接uploding上Blob存儲的文件中給出代碼 https://developers.google.com/appengine/docs/java/blobstore/overview#Writing_Files_to_the_Blobstore如何逐行讀取存儲在java的blobstore上的文件?
我已經使用在以下鏈接uploding上Blob存儲的文件中給出代碼 https://developers.google.com/appengine/docs/java/blobstore/overview#Writing_Files_to_the_Blobstore如何逐行讀取存儲在java的blobstore上的文件?
在鏈接中給出的示例中,您發佈的有什麼不對?
// Later, read from the file using the file API
lock = false; // Let other people read at the same time
FileReadChannel readChannel = fileService.openReadChannel(file, false);
// Again, different standard Java ways of reading from the channel.
BufferedReader reader = new BufferedReader(Channels.newReader(readChannel, "UTF8"));
String line = reader.readLine();
// line = "The woods are lovely dark and deep."
您必須更準確地確定阻止您的確切步驟。這個問題太模糊或太寬泛,所以很難幫助你。 –