|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmm.util.file.base.FileAttributes
public class FileAttributes
This class represents the attributes of a file as defined in a Unix/Posix
Filesystem. They consist of a user, a group and a mode mask (modifiers).
| Field Summary | |
|---|---|
private BasicUtil |
basicUtil
the BasicUtilImpl instance to use. |
private String |
group
|
private FileAccessPermissions |
permissions
|
private String |
user
|
| Constructor Summary | |
|---|---|
FileAttributes()
The constructor. |
|
FileAttributes(BasicUtil basicUtil)
The constructor. |
|
| Method Summary | |
|---|---|
FileAttributes |
clone()
|
boolean |
equals(Object obj)
|
String |
getGroup()
|
FileAccessPermissions |
getPermissions()
|
String |
getUser()
|
int |
hashCode()
|
void |
setGroup(String group)
|
void |
setPermissions(FileAccessPermissions mask)
|
void |
setUser(String user)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private String user
getUser()private String group
getGroup()private FileAccessPermissions permissions
getPermissions()private BasicUtil basicUtil
BasicUtilImpl instance to use.
| Constructor Detail |
|---|
public FileAttributes()
public FileAttributes(BasicUtil basicUtil)
basicUtil - the instance of BasicUtilImpl to use.| Method Detail |
|---|
public FileAttributes clone()
clone in class Objectpublic String getUser()
public void setUser(String user)
user - the user to setpublic String getGroup()
public void setGroup(String group)
group - the group to setpublic FileAccessPermissions getPermissions()
public void setPermissions(FileAccessPermissions mask)
mask - the userPermissions to setpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||