com.sun.faban.driver.util
Class User
java.lang.Object
com.sun.faban.driver.util.User
public class User
- extends Object
Username generator. This is still experimental.
- Author:
- Akara Sucharitakul
Constructor Summary |
User()
|
Method Summary |
static String |
getUserName(long id)
Creates a unique user name from an id. |
static void |
main(String[] args)
Test code for the user name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User()
getUserName
public static String getUserName(long id)
- Creates a unique user name from an id.
- Parameters:
id
- The id
- Returns:
- A unique user name
main
public static void main(String[] args)
- Test code for the user name.
- Parameters:
args
- The test command line arguments