你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FileRange Class
- java.
lang. Object - com.
azure. storage. file. share. models. FileRange
- com.
Implements
public final class FileRange
implements XmlSerializable<FileRange>
An Azure Storage file range.
Constructor Summary
Constructor | Description |
---|---|
FileRange() |
Creates an instance of File |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
File |
fromXml(XmlReader xmlReader)
Reads an instance of File |
static
File |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of File |
long |
getEnd()
Get the end property: End of the range. |
long |
getStart()
Get the start property: Start of the range. |
File |
setEnd(long end)
Set the end property: End of the range. |
File |
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
FileRange
public FileRange()
Creates an instance of FileRange class.
Method Details
fromXml
public static FileRange fromXml(XmlReader xmlReader)
Reads an instance of FileRange from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static FileRange fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of FileRange 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 FileRange setEnd(long end)
Set the end property: End of the range.
Parameters:
Returns:
setStart
public FileRange setStart(long start)
Set the start property: Start of the range.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws: