Forum Discussion

varinder85's avatar
varinder85
Copper Contributor
Jun 08, 2022

com.microsoft.azure.storage.blob.BlobInputStream is deprecated what is the replacement of this class

I need to read blob as input stream, and the class com.microsoft.azure.storage.blob.BlobInputStream

is legacy, what is the alternative to this.

2 Replies

  • richardwaal's avatar
    richardwaal
    Copper Contributor
    I never worked with the SDK myself. But after a small search I suspect that you need use: com.microsoft.azure.storage.blob.CloudBlockBlob.

    Here's an example where they use it:
    https://www.programcreek.com/java-api-examples/?api=com.microsoft.azure.storage.blob.CloudBlockBlob

Resources