BlockList Class
- java.
lang. Object - com.
azure. storage. blob. models. BlockList
- com.
Implements
public final class BlockList
implements XmlSerializable<BlockList>
The BlockList model.
Constructor Summary
Constructor | Description |
---|---|
BlockList() |
Creates an instance of Block |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Block |
fromXml(XmlReader xmlReader)
Reads an instance of Block |
static
Block |
fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of Block |
List<Block> |
getCommittedBlocks()
Get the committed |
List<Block> |
getUncommittedBlocks()
Get the uncommitted |
Block |
setCommittedBlocks(List<Block> committedBlocks)
Set the committed |
Block |
setUncommittedBlocks(List<Block> uncommittedBlocks)
Set the uncommitted |
Xml |
toXml(XmlWriter xmlWriter) |
Xml |
toXml(XmlWriter xmlWriter, String rootElementName) |
Methods inherited from java.lang.Object
Constructor Details
BlockList
public BlockList()
Creates an instance of BlockList class.
Method Details
fromXml
public static BlockList fromXml(XmlReader xmlReader)
Reads an instance of BlockList from the XmlReader.
Parameters:
Returns:
Throws:
fromXml
public static BlockList fromXml(XmlReader xmlReader, String rootElementName)
Reads an instance of BlockList from the XmlReader.
Parameters:
Returns:
Throws:
getCommittedBlocks
public List
Get the committedBlocks property: The CommittedBlocks property.
Returns:
getUncommittedBlocks
public List
Get the uncommittedBlocks property: The UncommittedBlocks property.
Returns:
setCommittedBlocks
public BlockList setCommittedBlocks(List
Set the committedBlocks property: The CommittedBlocks property.
Parameters:
Returns:
setUncommittedBlocks
public BlockList setUncommittedBlocks(List
Set the uncommittedBlocks property: The UncommittedBlocks property.
Parameters:
Returns:
toXml
toXml
public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)
Parameters:
Throws: