Class GUID
java.lang.Object
org.apache.tika.parser.microsoft.onenote.GUID
- All Implemented Interfaces:
Comparable<GUID>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
static GUID
fromCurlyBraceUTF16Bytes
(byte[] guid) Converts a GUID of format: {AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE} (in bytes) to a GUID object.int[]
getGuid()
int
hashCode()
static int
memcmp
(int[] b1, int[] b2, int sz) static GUID
nil()
setGuid
(int[] guid) toString()
-
Constructor Details
-
GUID
public GUID(int[] guid)
-
-
Method Details
-
fromCurlyBraceUTF16Bytes
Converts a GUID of format: {AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE} (in bytes) to a GUID object.- Parameters:
guid
- The bytes that contains string in UTF-16 format of {AAAAAAAA-BBBB-CCCC-DDDD -EEEEEEEEEEEE}- Returns:
- GUID object parsed from guid bytes.
-
memcmp
public static int memcmp(int[] b1, int[] b2, int sz) -
nil
-
compareTo
- Specified by:
compareTo
in interfaceComparable<GUID>
-
equals
-
hashCode
public int hashCode() -
toString
-
getGuid
public int[] getGuid() -
setGuid
-
getGuidString
-
toByteArray
-