public class FileAttributes extends Object implements Cloneable
user
, a group
and a mode mask
(modifiers).Modifier and Type | Field and Description |
---|---|
private BasicUtil |
basicUtil
the
BasicUtilImpl instance to use. |
private String |
group |
private FileAccessPermissions |
permissions |
private String |
user |
Constructor and Description |
---|
FileAttributes()
The constructor.
|
FileAttributes(BasicUtil basicUtil)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
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() |
private String user
private String group
private FileAccessPermissions permissions
private BasicUtil basicUtil
BasicUtilImpl
instance to use.public FileAttributes()
public FileAttributes(BasicUtil basicUtil)
basicUtil
- the instance of BasicUtilImpl
to use.public FileAttributes clone()
public 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 setCopyright © 2001–2016 mmm-Team. All rights reserved.