public class FileNodeListFragment extends Object implements IListFragment, com.aspose.ms.System.IEquatable<FileNodeListFragment>, com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
The file node list fragment.
Modifier and Type | Field and Description |
---|---|
static long |
Footer
Gets the end of the file node list fragment.
|
Constructor and Description |
---|
FileNodeListFragment(FileNodeListHeader header,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes,
byte[] padding,
FileChunkReference64X32 nextFragment)
Initializes a new instance of the
FileNodeListFragment class. |
FileNodeListFragment(FileNodeListHeader header,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes,
byte[] padding,
FileChunkReference64X32 nextFragment,
boolean hasChunkTerminator)
Initializes a new instance of the
FileNodeListFragment class. |
FileNodeListFragment(FileNodeListHeader header,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes,
FileChunkReference64X32 nextFragment)
Initializes a new instance of the
FileNodeListFragment class. |
FileNodeListFragment(FileNodeListHeader header,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes,
FileChunkReference64X32 nextFragment,
long defaultSize)
Initializes a new instance of the
FileNodeListFragment class. |
Modifier and Type | Method and Description |
---|---|
void |
addItem(IFileNode item)
The add.
|
void |
clear()
The clear.
|
boolean |
containsItem(IFileNode item)
The contains.
|
void |
copyToTArray(IFileNode[] array,
int arrayIndex)
The copy to.
|
boolean |
equals(FileNodeListFragment other)
The equals.
|
IFileNode |
get_Item(int index)
The this.
|
FileNodeListHeader |
getHeader()
Header of FIleNodeListFragment
|
FileChunkReference64X32 |
getNextFragmentReference()
Gets whether there are more fragments in this file node list, and if so, the location and size of the next fragment.
|
byte[] |
getPadding()
An optional array of bytes between the last FileNode structure in the rgFileNodes field and the nextFragment field.
|
com.aspose.ms.System.Collections.Generic.IGenericList<IFileNode> |
getRgFileNodes()
List is an optional file node list that specifies a collection of FileNode items"
|
long |
getStructSize()
Gets the struct size.
|
boolean |
isReadOnly()
Gets a value indicating whether is read only.
|
com.aspose.ms.System.Collections.IEnumerator |
iterator_Rename_Namesake()
The get enumerator.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFileNode> |
iterator()
The get enumerator.
|
boolean |
removeItem(IFileNode item)
The remove.
|
void |
set_Item(int index,
IFileNode value)
The this.
|
int |
size()
Gets the count.
|
byte[] |
toByteArray()
The to byte array.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final long Footer
Gets the end of the file node list fragment.
public FileNodeListFragment(FileNodeListHeader header, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes, byte[] padding, FileChunkReference64X32 nextFragment)
Initializes a new instance of the FileNodeListFragment
class.
header
- The header.fileNodes
- The rg file nodes.padding
- The padding.nextFragment
- The next fragment.public FileNodeListFragment(FileNodeListHeader header, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes, byte[] padding, FileChunkReference64X32 nextFragment, boolean hasChunkTerminator)
Initializes a new instance of the FileNodeListFragment
class.
header
- The header.fileNodes
- The rg file nodes.padding
- The padding.nextFragment
- The next fragment.hasChunkTerminator
- The has chunk terminator.public FileNodeListFragment(FileNodeListHeader header, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes, FileChunkReference64X32 nextFragment)
Initializes a new instance of the FileNodeListFragment
class.
header
- The header.fileNodes
- The rg file nodes.nextFragment
- The next fragment.public FileNodeListFragment(FileNodeListHeader header, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IFileNode> fileNodes, FileChunkReference64X32 nextFragment, long defaultSize)
Initializes a new instance of the FileNodeListFragment
class.
header
- The header.fileNodes
- The rg file nodes.nextFragment
- The next fragment.defaultSize
- The default size.public FileNodeListHeader getHeader()
Header of FIleNodeListFragment
public com.aspose.ms.System.Collections.Generic.IGenericList<IFileNode> getRgFileNodes()
List is an optional file node list that specifies a collection of FileNode items"
public byte[] getPadding()
An optional array of bytes between the last FileNode structure in the rgFileNodes field and the nextFragment field.
public FileChunkReference64X32 getNextFragmentReference()
Gets whether there are more fragments in this file node list, and if so, the location and size of the next fragment.
getNextFragmentReference
in interface IListFragment
public void addItem(IFileNode item)
The add.
addItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
item
- The item.public void clear()
The clear.
clear
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
public boolean containsItem(IFileNode item)
The contains.
containsItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
item
- The item.bool
.public void copyToTArray(IFileNode[] array, int arrayIndex)
The copy to.
copyToTArray
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
array
- The array.arrayIndex
- The array index.public boolean removeItem(IFileNode item)
The remove.
removeItem
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
item
- The item.bool
.public int size()
Gets the count.
size
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
public boolean isReadOnly()
Gets a value indicating whether is read only.
isReadOnly
in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<IFileNode>
public IFileNode get_Item(int index)
The this.
index
- The index.IFileNode
.public void set_Item(int index, IFileNode value)
The this.
index
- The index.public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
The get enumerator.
IEnumerator
.public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IFileNode> iterator()
The get enumerator.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.public boolean equals(FileNodeListFragment other)
The equals.
other
- The other.bool
.Copyright (c) 2016 Aspose. All Rights Reserved.