ShareFileRangeList Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareFileRangeList
- com.
Implements
public final class ShareFileRangeList
implements XmlSerializable<ShareFileRangeList>
The list of file ranges.
Constructor Summary
Constructor | Description |
---|---|
ShareFileRangeList() |
Creates an instance of Share |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Share |
fromXml(XmlReader xmlReader)
Reads an instance of Share |
static
Share |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Share |
List<Clear |
getClearRanges()
Get the clear |
List<File |
getRanges()
Get the ranges property: The Ranges property. |
Share |
setClearRanges(List<ClearRange> clearRanges)
Set the clear |
Share |
setRanges(List<FileRange> ranges)
Set the ranges property: The Ranges property. |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
ShareFileRangeList
public ShareFileRangeList()
Creates an instance of ShareFileRangeList class.
Method Details
fromXml
public static ShareFileRangeList fromXml(XmlReader xmlReader)
Reads an instance of ShareFileRangeList from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static ShareFileRangeList fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of ShareFileRangeList from the XmlReader.
Parameters:
Returns:
Throws:
getClearRanges
public List
Get the clearRanges property: The ClearRanges property.
Returns:
getRanges
public List
Get the ranges property: The Ranges property.
Returns:
setClearRanges
public ShareFileRangeList setClearRanges(List
Set the clearRanges property: The ClearRanges property.
Parameters:
Returns:
setRanges
public ShareFileRangeList setRanges(List
Set the ranges property: The Ranges property.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws: