sunlabs.brazil.util
Class Guid

java.lang.Object
  extended by sunlabs.brazil.util.Guid (view source)

public class Guid
extends Object

Utility to generate GUID's (Globally Unique Identifiers). We'll fill in more methods as needed.


Constructor Summary
Guid()
           
 
Method Summary
static String getString()
          Return a GUID as a string.
static void setGuidImpl(Guid factory)
          Allow global replacement of the GUID generator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Guid

public Guid()
Method Detail

setGuidImpl

public static void setGuidImpl(Guid factory)
Allow global replacement of the GUID generator. Applications wishing to install their own GUID generators should sub-class Guid, override the getGuid() method, and use this method to install their generator.


getString

public static String getString()
Return a GUID as a string.


Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.