您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.
用于 Java 的 Azure 存储库Azure Storage libraries for Java
10/19/2018
本文内容
概述Overview
使用 Azure 存储在 Java 应用程序中读取和写入 Blob(对象)数据、文件和消息。Read and write blob (object) data, files, and messages from your Java applications with Azure Storage.
若要开始使用 Azure 存储,请参阅如何通过 Java 使用 Blob 存储。To get started with Azure Storage, see How to use Blob storage from Java.
客户端库Client library
使用 Azure Active Directory 中的共享密钥、SAS 令牌或 OAuth 令牌通过 Azure 存储服务进行授权。Use a Shared Key, SAS token or an OAuth token from the Azure Active Directory to authorize with Azure Storage services. 然后通过客户端库的类和方法来使用 Blob、文件或队列存储。Then use the client libraries' classes and methods to work with blob, file, or queue storage.
向 Maven pom.xml 文件中添加依赖项,以便在项目中使用客户端库。Add a dependency to your Maven pom.xml file to use th