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
Data Size Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
Field Details
-
dataSize
public long dataSize
-
-
Constructor Details
-
DataSizeObject
public DataSizeObject()Initializes a new instance of the DataSizeObject class.
-
-
Method Details
-
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
Used to convert the element into a byte List.- Specified by:
serializeItemsToByteList
in classStreamObject
- Parameters:
byteList
- A Byte list- Returns:
- A constant value 8
-