|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sssw.fw.util.EboUUID
Universally Unique Identifier
Constructor Summary | |
EboUUID(long hiTag,
long loTag)
Constructor |
Method Summary | |
boolean |
equals(Object obj)
Compare the argument to this UUID. |
static EboUUID |
generate()
Generate a new Universally Unique Identifier For Netware, uses Netware's native uuid generation api. |
static EboUUID |
generateUUIDFromByteArray(byte[] bytes)
Generate the UUID from its byte array representation |
static EboUUID |
generateUUIDFromEncodedString(String uidStr)
Deprecated. |
static EboUUID |
generateUUIDFromString(String uidStr)
Generate the UUID from its String representation |
long |
highValue()
Get the high order value |
static byte |
hiNibble(byte b)
Get the high nibble (4 most significant bits) as a byte value |
static boolean |
isUniversallyUnique()
Get the boolean indicating if the UUIDs being returned are truely universally unigue. |
static byte |
loNibble(byte b)
Get the low nibble (4 least significant bits) as a byte value |
long |
lowValue()
Get the low order value |
static byte |
setHiNibble(byte dest,
int b)
Set the hi nibble of the destination with the 2nd rightmost nibble value of source |
static byte |
setLoNibble(byte dest,
int b)
Set the lo nibble of the destination with the low nibble value of source |
byte[] |
toByteArray()
Transform the internal representation into an array of 16 bytes |
String |
toPrintableString()
Create a human readable string that is the ascii representation of the UUID value. |
static String |
toPrintableString(byte[] bytes)
Generate the human readable String value for the UUID byte array. |
String |
toString()
Get the String representation of this UUID |
static String |
toString(byte[] bytes)
Generate the String value for the UUID byte array. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public EboUUID(long hiTag, long loTag)
Method Detail |
public static final boolean isUniversallyUnique()
public static final byte loNibble(byte b)
b
- source byte to extract low nibble frompublic static final byte hiNibble(byte b)
b
- source byte to extract high nibble frompublic static final byte setLoNibble(byte dest, int b)
dest
- destination of set operationb
- source of low nibble valuepublic static final byte setHiNibble(byte dest, int b)
dest
- destination of set operationb
- source of nibble valuepublic static String toPrintableString(byte[] bytes)
bytes
- array of 16 bytespublic static String toString(byte[] bytes)
bytes
- array of 16 bytespublic static EboUUID generateUUIDFromString(String uidStr) throws Exception
public static EboUUID generateUUIDFromEncodedString(String uidStr) throws Exception
public static EboUUID generateUUIDFromByteArray(byte[] bytes) throws Exception
public static EboUUID generate()
public byte[] toByteArray()
public String toString()
public String toPrintableString()
public long highValue()
public long lowValue()
public boolean equals(Object obj)
obj
- Object which is castable to an EboUUID. If a cast class
exception occurs, false is returned.
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |