PageRange Class
- java.
lang. Object - com.
microsoft. azure. storage. blob. PageRange
- com.
public class PageRange
Represents a range of pages in a page blob.
Constructor Summary
Constructor | Description |
---|---|
PageRange(final long start, final long end) |
Creates an instance of the class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
long |
getEndOffset()
Gets the ending offset. |
long |
getStartOffset()
Gets the starting offset. |
void |
setEndOffset(final long endOffset)
Sets the ending offset. |
void |
setStartOffset(final long startOffset)
Sets the starting offset. |
String |
toString()
Returns the content of the page range as a string. |
Constructor Details
PageRange
public PageRange(final long start, final long end)
Creates an instance of the class.
Parameters:
long
which represents the starting offset.
long
which represents the ending offset.
Method Details
getEndOffset
public long getEndOffset()
Gets the ending offset.
Returns:
long
which represents the ending offset.getStartOffset
public long getStartOffset()
Gets the starting offset.
Returns:
long
which represents the starting offset.setEndOffset
public void setEndOffset(final long endOffset)
Sets the ending offset.
Parameters:
long
which specifies the ending offset.
setStartOffset
public void setStartOffset(final long startOffset)
Sets the starting offset.
Parameters:
long
which specifies the starting offset.
toString
public String toString()
Returns the content of the page range as a string.
Returns:
String
which represents the contents of the page range.