|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--User
Model a Juno user. Each User has a login name, a home directory, and a real name.
Constructor Summary | |
User(String name,
Directory home,
String realName)
Construct a new User. |
Method Summary | |
Directory |
getHome()
Get the User's home Directory. |
String |
getName()
Get the User's login name. |
String |
getRealName()
Get the user's real name. |
String |
toString()
Convert the User to a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public User(String name, Directory home, String realName)
name
- the User's login name.home
- her home Directory.realName
- her real name.Method Detail |
public Directory getHome()
public String getName()
public String getRealName()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |