FileRange Class

  • java.lang.Object
    • com.azure.storage.file.share.models.FileRange

public final class FileRange

An Azure Storage file range.

Constructor Summary

Constructor Description
FileRange()

Creates an instance of FileRange class.

Method Summary

Modifier and Type Method and Description
long getEnd()

Get the end property: End of the range.

long getStart()

Get the start property: Start of the range.

FileRange setEnd(long end)

Set the end property: End of the range.

FileRange setStart(long start)

Set the start property: Start of the range.

Methods inherited from java.lang.Object

Constructor Details

FileRange

public FileRange()

Creates an instance of FileRange class.

Method Details

getEnd

public long getEnd()

Get the end property: End of the range.

Returns:

the end value.

getStart

public long getStart()

Get the start property: Start of the range.

Returns:

the start value.

setEnd

public FileRange setEnd(long end)

Set the end property: End of the range.

Parameters:

end - the end value to set.

Returns:

the FileRange object itself.

setStart

public FileRange setStart(long start)

Set the start property: Start of the range.

Parameters:

start - the start value to set.

Returns:

the FileRange object itself.

Applies to