Class ExGuid
java.lang.Object
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObject
org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.ExGuid
- All Implemented Interfaces:
- IFSSHTTPBSerializable
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intSpecify the extended GUID 10 Bit int type value.static final intSpecify the extended GUID 17 Bit int type value.static final intSpecify the extended GUID 32 Bit int type value.static final intSpecify the extended GUID 5 Bit int type value.static final intSpecify the extended GUID null type value.intint
- 
Constructor SummaryConstructorsConstructorDescriptionExGuid()Initializes a new instance of the ExGuid class, this is a default constructor.Initializes a new instance of the ExGuid class with specified value.Initializes a new instance of the ExGuid class, this is the copy constructor.
- 
Method SummaryModifier and TypeMethodDescriptionprotected intdoDeserializeFromByteArray(byte[] byteArray, int startIndex) This method is used to deserialize the ExGuid basic object from the specified byte array and start index.booleanOverride the Equals method.inthashCode()Override the GetHashCode.This method is used to convert the element of ExGuid basic object into a byte List.Methods inherited from class org.apache.tika.parser.microsoft.onenote.fsshttpb.streamobj.basic.BasicObjectdeserializeFromByteArray, parse
- 
Field Details- 
ExtendedGUIDNullTypepublic static final int ExtendedGUIDNullTypeSpecify the extended GUID null type value.- See Also:
 
- 
ExtendedGUID5BitUintTypepublic static final int ExtendedGUID5BitUintTypeSpecify the extended GUID 5 Bit int type value.- See Also:
 
- 
ExtendedGUID10BitUintTypepublic static final int ExtendedGUID10BitUintTypeSpecify the extended GUID 10 Bit int type value.- See Also:
 
- 
ExtendedGUID17BitUintTypepublic static final int ExtendedGUID17BitUintTypeSpecify the extended GUID 17 Bit int type value.- See Also:
 
- 
ExtendedGUID32BitUintTypepublic static final int ExtendedGUID32BitUintTypeSpecify the extended GUID 32 Bit int type value.- See Also:
 
- 
typepublic int type
- 
valuepublic int value
- 
guid
 
- 
- 
Constructor Details- 
ExGuidInitializes a new instance of the ExGuid class with specified value.- Parameters:
- value- Specify the ExGUID Value.
- identifier- Specify the ExGUID GUID value.
 
- 
ExGuidInitializes a new instance of the ExGuid class, this is the copy constructor.- Parameters:
- guid2- Specify the ExGuid instance where copies from.
 
- 
ExGuidpublic ExGuid()Initializes a new instance of the ExGuid class, this is a default constructor.
 
- 
- 
Method Details- 
serializeToByteListThis method is used to convert the element of ExGuid basic object into a byte List.- Specified by:
- serializeToByteListin interface- IFSSHTTPBSerializable
- Specified by:
- serializeToByteListin class- BasicObject
- Returns:
- Return the byte list which store the byte information of ExGuid.
- Throws:
- IOException
 
- 
equalsOverride the Equals method.
- 
hashCodepublic int hashCode()Override the GetHashCode.
- 
doDeserializeFromByteArrayThis method is used to deserialize the ExGuid basic object from the specified byte array and start index.- Specified by:
- doDeserializeFromByteArrayin class- BasicObject
- Parameters:
- byteArray- Specify the byte array.
- startIndex- Specify the start index from the byte array.
- Returns:
- Return the length in byte of the ExGuid basic object.
- Throws:
- IOException
 
 
-