Class LeafNodeObject
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.NodeObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.LeafNodeObject
- All Implemented Interfaces:
IFSSHTTPBSerializable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The class is used to build a intermediate node object. -
Field Summary
Fields inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.NodeObject
dataSize, exGuid, intermediateNodeObjectList, signature
-
Constructor Summary
ConstructorDescriptionInitializes a new instance of the LeafNodeObjectData class. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deserializeItemsFromByteArray
(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) Used to de-serialize the element.Get all the content which is represented by the intermediate node object.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
-
dataNodeObjectData
-
dataHash
-
-
Constructor Details
-
LeafNodeObject
public LeafNodeObject()Initializes a new instance of the LeafNodeObjectData class.
-
-
Method Details
-
getContent
Get all the content which is represented by the intermediate node object.- Specified by:
getContent
in classNodeObject
- Returns:
- Return the byte list of intermediate node object content.
- Throws:
TikaException
-
deserializeItemsFromByteArray
protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws TikaException, 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:
TikaException
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
- Throws:
TikaException
IOException
-