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
Nested ClassesModifier and TypeClassDescriptionstatic classThe class is used to build a intermediate node object. -
Field Summary
FieldsFields inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.NodeObject
dataSize, exGuid, intermediateNodeObjectList, signature -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the LeafNodeObjectData class. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeserializeItemsFromByteArray(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 intserializeItemsToByteList(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:
getContentin 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:
deserializeItemsFromByteArrayin classStreamObject- Parameters:
byteArray- A Byte arraycurrentIndex- Start positionlengthOfItems- The length of the items- Throws:
TikaExceptionIOException
-
serializeItemsToByteList
Used to convert the element into a byte List.- Specified by:
serializeItemsToByteListin classStreamObject- Parameters:
byteList- A Byte list- Returns:
- A constant value
- Throws:
TikaExceptionIOException
-