Class ObjectDataBLOB
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.ObjectDataBLOB
- All Implemented Interfaces:
IFSSHTTPBSerializable
Specifies an object data BLOB stream object - the opaque binary data of an object,
e.g. an embedded image or file. See MS-FSSHTTPB section 2.2.1.12.8.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) De-serialize items from byte array.byte[]getData()protected intserializeItemsToByteList(List<Byte> byteList) Serialize items to byte list.Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
-
Field Details
-
data
-
-
Constructor Details
-
ObjectDataBLOB
public ObjectDataBLOB()
-
-
Method Details
-
getData
public byte[] getData()- Returns:
- the opaque binary data as a byte array, or null if not present.
-
deserializeItemsFromByteArray
protected void deserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) throws TikaException, IOException Description copied from class:StreamObjectDe-serialize items from byte array.- Specified by:
deserializeItemsFromByteArrayin classStreamObject- Parameters:
byteArray- The byte array which contains response message.currentIndex- The index special where to start.lengthOfItems- The length of items.- Throws:
TikaExceptionIOException
-
serializeItemsToByteList
Description copied from class:StreamObjectSerialize items to byte list.- Specified by:
serializeItemsToByteListin classStreamObject- Parameters:
byteList- The byte list need to serialized.- Returns:
- The length in bytes for additional data if the current stream object has, otherwise return 0.
- Throws:
IOException
-