public class FileDataStoreObject extends Object implements IBinarySerializable, com.aspose.ms.System.IEquatable<FileDataStoreObject>
Gets the data for a file data object.
Constructor and Description |
---|
FileDataStoreObject(Guid header,
long cbLength,
long unused,
long reserved,
byte[] fileData,
Guid footer)
Initializes a new instance of the
FileDataStoreObject class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(FileDataStoreObject other)
The equals.
|
long |
getCbLength()
Gets the size, in bytes, of the FileData field.
|
byte[] |
getFileData()
Gets the data for the file data object.
|
Guid |
getFooter()
Gets the end of a FileDataStoreObject structure.
|
Guid |
getHeader()
Gets the beginning of a FileDataStoreObject.
|
long |
getReserved()
Gets reserved field.
|
long |
getStructSize()
Gets the struct size.
|
long |
getUnused()
Gets unused field.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public FileDataStoreObject(Guid header, long cbLength, long unused, long reserved, byte[] fileData, Guid footer)
Initializes a new instance of the FileDataStoreObject
class.
header
- The header.cbLength
- The CB length.unused
- The unused.reserved
- The reserved.fileData
- The file data.footer
- The footer.public Guid getHeader()
Gets the beginning of a FileDataStoreObject. must be {BDE316E7-2665-4511-A4C4-8D4D0B7A9EAC}.
public long getCbLength()
Gets the size, in bytes, of the FileData field.
public long getUnused()
Gets unused field. MUST be zero, and MUST be ignored.
public long getReserved()
Gets reserved field. MUST be zero, and MUST be ignored.
public byte[] getFileData()
Gets the data for the file data object.
public Guid getFooter()
Gets the end of a FileDataStoreObject structure. MUST be {71FBA722-0F79-4A0B-BB13-899256426B24}
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public boolean equals(FileDataStoreObject other)
The equals.
other
- The other.bool
.public String toString()
The to string.
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.Copyright (c) 2016 Aspose. All Rights Reserved.