oracle.ldap.util.GUID instead
@Deprecated
public final class NativeGuid
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
static int |
GUID_BYTE_SIZE
Deprecated.
number of bytes required for GUID
|
static int |
GUID_STRING_SIZE
Deprecated.
number of bytes required for the string representation of GUID
|
static int |
GUID_STRING_SIZE_NEW
Deprecated.
orig string size
|
| Constructor and Description |
|---|
NativeGuid()
Deprecated.
Default constructor.
|
NativeGuid(byte[] byte_array)
Deprecated.
Construct a NativeGuid from a byte array
|
NativeGuid(java.lang.String guid)
Deprecated.
Construct a NativeGuid from a string
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Deprecated.
Clones a NativeGuid object
|
static java.lang.String |
compactGuidString(java.lang.String s)
Deprecated.
Converts the larger version of the GUID String to a more compact version.
|
boolean |
equals(java.lang.Object o)
Deprecated.
Compare the NativeGuid in a string format
|
static java.lang.String |
expandGuidString(java.lang.String s)
Deprecated.
Expands the compact version of the GUID String to a more readable version.
|
byte[] |
getBytes()
Deprecated.
return the 'byte' form of the NativeGuid
|
int |
hashCode()
Deprecated.
return the hashcode of this object for hashing purposes
|
static void |
main(java.lang.String[] argv)
Deprecated.
main function used for testing
|
static NativeGuid |
newInstance()
Deprecated.
generates a new NativeGuid
|
java.lang.String |
toString()
Deprecated.
Retrieves the NativeGuid in a string format
|
public static final int GUID_BYTE_SIZE
public static final int GUID_STRING_SIZE
public static final int GUID_STRING_SIZE_NEW
public NativeGuid()
public NativeGuid(java.lang.String guid)
guid - a string representation of a Globally Unique Identifierpublic NativeGuid(byte[] byte_array)
byte_array - an array of bytes representing a GUID. This constructor will validate the length of the byte array before proceeding.public static java.lang.String compactGuidString(java.lang.String s)
public static java.lang.String expandGuidString(java.lang.String s)
public static NativeGuid newInstance()
public byte[] getBytes()
public final java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object clone()
clone in class java.lang.Objectpublic static void main(java.lang.String[] argv)