Package fr.gouv.vitam.common.guid

# Class GUIDReader

java.lang.Object
fr.gouv.vitam.common.guid.GUIDReader

public final class GUIDReader extends Object
GUUID Reader

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static final GUID`
  `getGUID(byte[] guid)`
  Get GUID from byte array representation
  `static final GUID`
  `getGUID(String guid)`
  Get GUID from String representation
  `static final GUID`
  `getGUIDUnsafe(String guid)`
  Get GUID from String representation

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getGUID

    public static final GUID getGUID(String guid) throws InvalidGuidOperationException
    Get GUID from String representation
    Parameters:
      `guid` - the String representation of the GUID
    Returns:
      the GUID
    Throws:
      `InvalidGuidOperationException` - if the String is malformed

  - ### getGUIDUnsafe

    public static final GUID getGUIDUnsafe(String guid)
    Get GUID from String representation
    Parameters:
      `guid` - the String representation of the GUID
    Returns:
      the GUID
    Throws:
      `InvalidGuidOperationException` - if the String is malformed

  - ### getGUID

    public static final GUID getGUID(byte[] guid) throws InvalidGuidOperationException
    Get GUID from byte array representation
    Parameters:
      `guid` - the byte array representation of the GUID
    Returns:
      the GUID
    Throws:
      `InvalidGuidOperationException` - if the byte array is malformed