使用java从Azure存储获取文档/word文件内容. [英] Get Document/word file content from Azure Storage using java.
本文介绍了使用java从Azure存储获取文档/word文件内容.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将图像和文档文件上传到Blob-Azure存储器中.我知道,如何使用Java获取Blob属性(名称,网址等).
I upload image and document file in Blob-Azure storage. I know,how to get the blob property(name,url ,etc) using java.
但是我的问题:我需要获取文档文件内容.
我的文档内容:Azure Table存储服务存储大量结构化数据.
my document content : The Azure Table storage service stores large amounts of structured data.
如何访问文档内容.
谢谢你
推荐答案
我为我的问题找到了解决方案.这是代码.
I got the solution for my problem. Here is the code.
BufferedReader br = new BufferedReader(new InputStreamReader(blob.openInputStream()));
String line;
while ((line = br.readLine()) != null) {
System.out.println(line);
}
它可能会帮助某人.
这篇关于使用java从Azure存储获取文档/word文件内容.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文