Class DataSizeObject
- java.lang.Object
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
-
- org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.DataSizeObject
-
- All Implemented Interfaces:
IFSSHTTPBSerializable
public class DataSizeObject extends StreamObject
Data Size Object
-
-
Field Summary
Fields Modifier and Type Field Description long
dataSize
-
Constructor Summary
Constructors Constructor Description DataSizeObject()
Initializes a new instance of the DataSizeObject class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems)
Used to de-serialize the element.protected int
serializeItemsToByteList(List<Byte> byteList)
Used to convert the element into a byte List.-
Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
-
-
-
-
Method Detail
-
deserializeItemsFromByteArray
protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws IOException
Used to de-serialize the element.- Specified by:
deserializeItemsFromByteArray
in classStreamObject
- Parameters:
byteArray
- A Byte arraycurrentIndex
- Start positionlengthOfItems
- The length of the items- Throws:
IOException
-
serializeItemsToByteList
protected int serializeItemsToByteList(List<Byte> byteList)
Used to convert the element into a byte List.- Specified by:
serializeItemsToByteList
in classStreamObject
- Parameters:
byteList
- A Byte list- Returns:
- A constant value 8
-
-