com.sshtools.common.util
Class UID

java.lang.Object
  extended by com.sshtools.common.util.UID

public class UID
extends java.lang.Object

Version:
$Revision: 1.8 $
Author:
$author$

Method Summary
 boolean equals(java.lang.Object obj)
           
static UID fromString(java.lang.String uid)
           
static UID generateUniqueId(byte[] content)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

generateUniqueId

public static UID generateUniqueId(byte[] content)
                            throws UIDException
Parameters:
content -
Returns:
Throws:
UIDException

fromString

public static UID fromString(java.lang.String uid)
                      throws UIDException
Parameters:
uid -
Returns:
Throws:
UIDException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
Returns:


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.