public final class ShareFileRange extends Object
| Constructor and Description |
|---|
ShareFileRange(long start)
Create an instance of the range of a file.
|
ShareFileRange(long start,
Long end)
Create an instance of the range of a file.
|
ShareFileRange(Range range)
Creates an instance of the range of a file from the passed
Range. |
public ShareFileRange(long start)
start - Specifies the start of bytes to be written.public ShareFileRange(long start,
Long end)
start - Specifies the start of bytes to be written.end - Specifies the end of bytes to be writtenpublic long getStart()
public Long getEnd()
public String toString()
public String toHeaderValue()
ShareFileRange.toString() if count isn't null or offset isn't 0,
otherwise null.Copyright © 2021 Microsoft Corporation. All rights reserved.