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
public class LeafNodeObject extends NodeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLeafNodeObject.IntermediateNodeObjectBuilderThe class is used to build a intermediate node object.
-
Field Summary
Fields Modifier and Type Field Description DataHashObjectdataHashDataNodeObjectDatadataNodeObjectData-
Fields inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.NodeObject
dataSize, exGuid, intermediateNodeObjectList, signature
-
-
Constructor Summary
Constructors Constructor Description LeafNodeObject()Initializes a new instance of the LeafNodeObjectData class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddeserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems)Used to de-serialize the element.List<Byte>getContent()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 Detail
-
dataNodeObjectData
public DataNodeObjectData dataNodeObjectData
-
dataHash
public DataHashObject dataHash
-
-
Method Detail
-
getContent
public List<Byte> getContent() throws TikaException
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, IOExceptionUsed to de-serialize the element.- Specified by:
deserializeItemsFromByteArrayin classStreamObject- Parameters:
byteArray- A Byte arraycurrentIndex- Start positionlengthOfItems- The length of the items- Throws:
TikaExceptionIOException
-
serializeItemsToByteList
protected int serializeItemsToByteList(List<Byte> byteList) throws TikaException, IOException
Used to convert the element into a byte List.- Specified by:
serializeItemsToByteListin classStreamObject- Parameters:
byteList- A Byte list- Returns:
- A constant value
- Throws:
TikaExceptionIOException
-
-