public final class GUIDConverter extends Object
Modifier and Type | Method and Description |
---|---|
static String |
convertInternalGUIDToStandardFormat(String sInternalGUID)
Converts a GUID from internal base 64 format to standard format of
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}, where each x is an alphanumeric character
|
static String |
convertStandardGUIDToInternalFormat(String sStandardGUID)
Converts a GUID to internal base 64 format from standard format of
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}, where each x is an alphanumeric character
|
public static String convertInternalGUIDToStandardFormat(String sInternalGUID) throws InvalidValueException
sInternalGUID
- GUID in internal base 64 formatInvalidValueException
- if the GUID was not in the correct formatpublic static String convertStandardGUIDToInternalFormat(String sStandardGUID) throws InvalidValueException
sStandardGUID
- GUID in standard formatInvalidValueException
- if the GUID was not in the correct formatCopyright © 2003, 2022, Oracle and/or its affiliates.
Oracle®, Java, and MySQL are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.