|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.bc.gov.webade.user.GUID
| Constructor Summary | |
GUID(byte[] guidBytes)
Creates a GUID instance using a byte-array containing a native GUID binary value. |
|
GUID(java.lang.String guidString)
Creates a GUID instance using a Microsoft-formatted GUID string. |
|
GUID(java.lang.String guidString,
boolean isNativeFormat)
Creates a GUID instance using a Hex-based GUID string. |
|
| Method Summary | |
static java.lang.String |
convertGUIDStringFormat(java.lang.String guid)
Converts the given GUID between native GUID and Microsoft GUID and returns the result. |
static byte[] |
convertMicrosoftGUIDToNativeBytes(java.lang.String microsoftGuid)
Converts the given microsoft guid to a byte array representation. |
static java.lang.String |
convertNativeBytesToMicrosoftGUID(byte[] guidBytes)
Converts the given guid byte array to a microsoft string representation. |
static java.lang.String |
convertNativeBytesToNativeGUID(byte[] guidBytes)
Converts the given guid byte array to a native string representation. |
static byte[] |
convertNativeGUIDToNativeBytes(java.lang.String nativeGuid)
Converts the given native guid to a byte array representation. |
boolean |
equals(java.lang.Object object)
|
boolean |
isValid()
|
java.lang.String |
toMicrosoftGUIDString()
|
byte[] |
toNativeByteArray()
|
java.lang.String |
toNativeGUIDString()
|
java.lang.String |
toString()
|
static boolean |
validate(byte[] guidBytes)
Validates the given byte array to ensure its value represents a valid guid value. |
static boolean |
validate(java.lang.String guidString)
Validates the given string to ensure its value represents a valid guid value. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GUID(byte[] guidBytes)
guidBytes - The GUID binary in byte array form.public GUID(java.lang.String guidString)
guidString - The GUID string value.
public GUID(java.lang.String guidString,
boolean isNativeFormat)
guidString - The GUID string value.isNativeFormat - A flag indicating whether the GUID string is in native or
Microsoft format.| Method Detail |
public static final java.lang.String convertGUIDStringFormat(java.lang.String guid)
guid - The guid to convert.
public static byte[] convertNativeGUIDToNativeBytes(java.lang.String nativeGuid)
nativeGuid - The native guid to convert.
public static byte[] convertMicrosoftGUIDToNativeBytes(java.lang.String microsoftGuid)
microsoftGuid - The microsoft guid to convert.
public static java.lang.String convertNativeBytesToNativeGUID(byte[] guidBytes)
guidBytes - The guid to convert.
public static java.lang.String convertNativeBytesToMicrosoftGUID(byte[] guidBytes)
guidBytes - The guid to convert.
public static boolean validate(java.lang.String guidString)
guidString - The guid string to validate.
public static boolean validate(byte[] guidBytes)
guidBytes - The guid byte array to validate.
public byte[] toNativeByteArray()
public java.lang.String toNativeGUIDString()
public java.lang.String toMicrosoftGUIDString()
public boolean isValid()
public boolean equals(java.lang.Object object)
Object.equals(java.lang.Object)public java.lang.String toString()
Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||