Class ObjectGroupMetadata
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.ObjectGroupMetadata
- All Implemented Interfaces:
IFSSHTTPBSerializable
Specifies an object group metadata
-
Field Summary
FieldsModifier and TypeFieldDescriptionGets or sets a compact unsigned 64-bit integer that specifies the expected change frequency of the object. -
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the ObjectGroupMetadata class. -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddeserializeItemsFromByteArray(byte[] byteArray, AtomicInteger currentIndex, int lengthOfItems) Used to de-serialize the element.protected intserializeItemsToByteList(List<Byte> byteList) Used to convert the element into a byte ListMethods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.StreamObject
deserializeFromByteArray, getCompoundTypes, getCurrent, getStreamObjectTypeMapping, parseStreamObject, serializeToByteList, tryGetCurrent
-
Field Details
-
ObjectChangeFrequency
Gets or sets a compact unsigned 64-bit integer that specifies the expected change frequency of the object. This value MUST be: 0, if the change frequency is not known. 1, if the object is known to change frequently. 2, if the object is known to change infrequently. 3, if the object is known to change independently of any other objects.
-
-
Constructor Details
-
ObjectGroupMetadata
public ObjectGroupMetadata()Initializes a new instance of the ObjectGroupMetadata class.
-
-
Method Details
-
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:
- The number of elements actually contained in the list
- Throws:
IOException
-