Java Box SDK - How get downloaded file
I am trying to get the file content downloaded with the Box SDK in Java using the example code:
BoxFile file = new BoxFile(api, "id");
BoxFile.Info info = file.getInfo();
FileOutputStream stream = new FileOutputStream(info.getName());
file.download(stream);
stream.close();
But when I debug it, I can't find a way to get the contents of the file. How could I get it?
サインインしてコメントを残してください。
コメント
2件のコメント