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 classIntermediateNodeObject.RootNodeObjectBuilderThe 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 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 root 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
-
-
-
-
Method Detail
-
getContent
public List<Byte> getContent() throws TikaException
Get all the content which is represented by the root node object.- Specified by:
getContentin 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, 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:
- The Byte list
- Throws:
TikaExceptionIOException
-
-