Range Class
- java.
lang. Object - com.
azure. storage. file. share. models. Range
- com.
Implements
public final class Range
implements XmlSerializable<Range>
An Azure Storage file range.
Constructor Summary
Constructor | Description | |
---|---|---|
Range() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Range |
fromXml(XmlReader xmlReader)
Reads an instance of Range from the Xml |
static Range |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Range from the Xml |
long |
getEnd()
Get the end property: End of the range. |
long |
getStart()
Get the start property: Start of the range. |
Range |
setEnd(long end)
Set the end property: End of the range. |
Range |
setStart(long start)
Set the start property: Start of the range. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
Range
public Range()
Method Details
fromXml
public static Range fromXml(XmlReader xmlReader)
Reads an instance of Range from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static Range fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Range from the XmlReader.
Parameters:
Returns:
Throws:
getEnd
public long getEnd()
Get the end property: End of the range.
Returns:
getStart
public long getStart()
Get the start property: Start of the range.
Returns:
setEnd
public Range setEnd(long end)
Set the end property: End of the range.
Parameters:
Returns:
setStart
public Range setStart(long start)
Set the start property: Start of the range.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws:
Applies to
Azure SDK for Java