org.exolab.jms.common.uuid
Class UUID

java.lang.Object
  |
  +--org.exolab.jms.common.uuid.UUID

public final class UUID
extends java.lang.Object

Helper class that generates unique identifiers

Version:
$Revision: 1.1 $ $Date: 2004/11/26 01:50:35 $
Author:
Jim Alateras

Method Summary
static java.lang.String next()
          Return the next identifier
static java.lang.String next(java.lang.String prefix)
          Returns the next identifier, prepended with the specified prefix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public static java.lang.String next(java.lang.String prefix)
Returns the next identifier, prepended with the specified prefix.
Parameters:
prefix - prefix of the identifier
Returns:
the next unique identifier

next

public static java.lang.String next()
Return the next identifier
Returns:
the next unique identifier


Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.