|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wegra.net.GUID
class Guid creates a Global/Universal Unique ID, per DCE RPC specification. Requires seed of MAC address/node identifier (12-digit hex string) for uniqueness. Specification found at the OpenGroup.Org web site.
Nested Class Summary | |
static class |
GUID.Test
|
Constructor Summary | |
GUID()
Guid() - default constructor |
|
GUID(java.lang.String newMac)
Guid(String) - seeded constructor |
Method Summary | |
java.lang.String |
getNewGuid()
getNewGuid calls set to generate a new GUID |
void |
set()
set is where all the work is done |
java.lang.String |
toString()
toString returns the current values as a single string per RFC |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GUID() throws java.lang.IllegalArgumentException
public GUID(java.lang.String newMac) throws java.lang.IllegalArgumentException
newMac
- String as the seed value for fifth element of string GUID
java.lang.IllegalArgumentException
Method Detail |
public java.lang.String getNewGuid()
public java.lang.String toString()
public void set()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |