你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BlobSeekableByteChannelReadResult Class

  • java.lang.Object
    • com.azure.storage.blob.models.BlobSeekableByteChannelReadResult

public final class BlobSeekableByteChannelReadResult

Contains the results of opening a SeekableByteChannel to read from a blob.

Constructor Summary

Constructor Description
BlobSeekableByteChannelReadResult(SeekableByteChannel channel, BlobProperties properties)

Creates a new instance of BlobSeekableByteChannelReadResult.

Method Summary

Modifier and Type Method and Description
SeekableByteChannel getChannel()

Gets the channel to read the target blob.

BlobProperties getProperties()

Gets the blob properties of the target blob.

Methods inherited from java.lang.Object

Constructor Details

BlobSeekableByteChannelReadResult

public BlobSeekableByteChannelReadResult(SeekableByteChannel channel, BlobProperties properties)

Creates a new instance of BlobSeekableByteChannelReadResult.

Parameters:

channel - Channel to read the target blob.
properties - Blob properties of the target blob.

Method Details

getChannel

public SeekableByteChannel getChannel()

Gets the channel to read the target blob.

Returns:

Channel to read the target blob.

getProperties

public BlobProperties getProperties()

Gets the blob properties of the target blob.

Returns:

Blob properties of the target blob.

Applies to