org.apache.juddi.uuidgen
Class NativeUUIDGen

java.lang.Object
  extended by org.apache.juddi.uuidgen.NativeUUIDGen
All Implemented Interfaces:
UUIDGen

public final class NativeUUIDGen
extends java.lang.Object
implements UUIDGen

Used to create new universally unique identifiers or UUID's (sometimes called GUID's). UDDI UUID's are allways formmated according to DCE UUID conventions.

Author:
Steve Viens (sviens@apache.org)

Constructor Summary
NativeUUIDGen()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.lang.String uuidgen()
          Generates a UUID and returns it's value as a String
 java.lang.String[] uuidgen(int nmbr)
          Generates a collection of UUID's and returns thier values as an array of Strings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeUUIDGen

public NativeUUIDGen()
Method Detail

uuidgen

public java.lang.String uuidgen()
Description copied from interface: UUIDGen
Generates a UUID and returns it's value as a String

Specified by:
uuidgen in interface UUIDGen
Returns:
The new UUID value as a String

uuidgen

public java.lang.String[] uuidgen(int nmbr)
Description copied from interface: UUIDGen
Generates a collection of UUID's and returns thier values as an array of Strings

Specified by:
uuidgen in interface UUIDGen
Parameters:
nmbr - The number of UUID's to generate
Returns:
An array of UUID's as String objects

main

public static void main(java.lang.String[] args)


Copyright © 2004-2007. All Rights Reserved.