Class IntermediateNodeObject
- 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.IntermediateNodeObject
-
- All Implemented Interfaces:
IFSSHTTPBSerializable
public class IntermediateNodeObject extends NodeObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IntermediateNodeObject.RootNodeObjectBuilder
The class is used to build a root node object.
-
Field Summary
-
Fields inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.NodeObject
dataSize, exGuid, intermediateNodeObjectList, signature
-
-
Constructor Summary
Constructors Constructor Description IntermediateNodeObject()
Initializes a new instance of the IntermediateNodeObject 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.List<Byte>
getContent()
Get all the content which is represented by the root 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
-
-
-
-
Method Detail
-
getContent
public List<Byte> getContent() throws TikaException
Get all the content which is represented by the root node object.- Specified by:
getContent
in classNodeObject
- Returns:
- Return the byte list of root 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
protected int serializeItemsToByteList(List<Byte> byteList) throws TikaException, IOException
Used to convert the element into a byte List.- Specified by:
serializeItemsToByteList
in classStreamObject
- Parameters:
byteList
- A Byte list- Returns:
- The Byte list
- Throws:
TikaException
IOException
-
-