org.dspace.app.didl
Class UUIDFactory

java.lang.Object
  extended by org.dspace.app.didl.UUIDFactory

public final class UUIDFactory
extends Object

Factory class for generating UUID version 4. All what this class does is creating UUID version 4 objects using crypto-quality random numbers. Development of this code was part of the aDORe repository project by the Research Library of the Los Alamos National Laboratory. This code is based on the implementation of UUID version 4 (the one that uses random/pseudo-random numbers by Ashraf Amrou of the Old Dominion University (Aug 14, 2003)


Method Summary
static UUID generateUUID()
          Customers of this class call this method to generete new UUID objects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generateUUID

public static UUID generateUUID()
Customers of this class call this method to generete new UUID objects

Returns:
a new UUID object


Copyright © 2013 DuraSpace. All Rights Reserved.