public final class BlobRange extends Object
Constructor and Description |
---|
BlobRange(long offset)
Specifies the download operation to start from the offset position (zero-based) and download the rest of the
entire blob to the end.
|
BlobRange(long offset,
Long count)
Specifies the download operation to start from the offset position (zero-based) and download the count number of
bytes.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCount()
How many bytes to include in the range.
|
long |
getOffset()
The start of the range.
|
String |
toHeaderValue() |
String |
toString() |
public BlobRange(long offset)
offset
- the zero-based position to start downloadingIllegalArgumentException
- If offset
is less than 0
.public BlobRange(long offset, Long count)
offset
- the zero-based position to start downloadingcount
- the number of bytes to downloadIllegalArgumentException
- If offset
or count
is less than 0
.public long getOffset()
public Long getCount()
public String toString()
public String toHeaderValue()
BlobRange.toString()
if count
isn't null
or offset
isn't 0, otherwise
null.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.