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 Summary
Modifier and TypeFieldDescriptionstatic final int
Specify the extended GUID 10 Bit int type value.static final int
Specify the extended GUID 17 Bit int type value.static final int
Specify the extended GUID 32 Bit int type value.static final int
Specify the extended GUID 5 Bit int type value.static final int
Specify the extended GUID null type value.int
int
-
Constructor Summary
ConstructorDescriptionExGuid()
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 Summary
Modifier and TypeMethodDescriptionprotected int
doDeserializeFromByteArray
(byte[] byteArray, int startIndex) This method is used to deserialize the ExGuid basic object from the specified byte array and start index.boolean
Override the Equals method.int
hashCode()
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.BasicObject
deserializeFromByteArray, parse
-
Field Details
-
ExtendedGUIDNullType
public static final int ExtendedGUIDNullTypeSpecify the extended GUID null type value.- See Also:
-
ExtendedGUID5BitUintType
public static final int ExtendedGUID5BitUintTypeSpecify the extended GUID 5 Bit int type value.- See Also:
-
ExtendedGUID10BitUintType
public static final int ExtendedGUID10BitUintTypeSpecify the extended GUID 10 Bit int type value.- See Also:
-
ExtendedGUID17BitUintType
public static final int ExtendedGUID17BitUintTypeSpecify the extended GUID 17 Bit int type value.- See Also:
-
ExtendedGUID32BitUintType
public static final int ExtendedGUID32BitUintTypeSpecify the extended GUID 32 Bit int type value.- See Also:
-
type
public int type -
value
public int value -
guid
-
-
Constructor Details
-
ExGuid
Initializes a new instance of the ExGuid class with specified value.- Parameters:
value
- Specify the ExGUID Value.identifier
- Specify the ExGUID GUID value.
-
ExGuid
Initializes a new instance of the ExGuid class, this is the copy constructor.- Parameters:
guid2
- Specify the ExGuid instance where copies from.
-
ExGuid
public ExGuid()Initializes a new instance of the ExGuid class, this is a default constructor.
-
-
Method Details
-
serializeToByteList
This method is used to convert the element of ExGuid basic object into a byte List.- Specified by:
serializeToByteList
in interfaceIFSSHTTPBSerializable
- Specified by:
serializeToByteList
in classBasicObject
- Returns:
- Return the byte list which store the byte information of ExGuid.
- Throws:
IOException
-
equals
Override the Equals method. -
hashCode
public int hashCode()Override the GetHashCode. -
doDeserializeFromByteArray
This method is used to deserialize the ExGuid basic object from the specified byte array and start index.- Specified by:
doDeserializeFromByteArray
in classBasicObject
- 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
-