public class NfsSetAttributes
extends java.lang.Object
| Constructor and Description |
|---|
NfsSetAttributes()
Default constructor
|
NfsSetAttributes(java.lang.Long mode,
java.lang.Long uid,
java.lang.Long gid,
java.lang.Long size,
NfsTime atime,
NfsTime mtime)
Convenient constructor for multiple changes.
|
NfsSetAttributes(java.lang.Long mode,
java.lang.Long uid,
java.lang.Long gid,
NfsTime atime,
NfsTime mtime)
Convenient constructor for multiple changes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
marshalling(Xdr xdr)
Set Xdr fields for the rpc call.
|
void |
setAtime(NfsTime atime) |
void |
setGid(java.lang.Long gid) |
void |
setMode(java.lang.Long mode) |
void |
setMtime(NfsTime mtime) |
void |
setSize(java.lang.Long size) |
void |
setUid(java.lang.Long uid) |
java.lang.String |
toString() |
public NfsSetAttributes()
public NfsSetAttributes(java.lang.Long mode,
java.lang.Long uid,
java.lang.Long gid,
NfsTime atime,
NfsTime mtime)
mode - uid - gid - atime - mtime - public void setMode(java.lang.Long mode)
mode - The protection mode bits, defined as follows:
public void setUid(java.lang.Long uid)
uid - the user ID of the owner of the file.public void setGid(java.lang.Long gid)
gid - the group ID of the group of the file.public void setSize(java.lang.Long size)
size - the size of the file in bytes.public void setAtime(NfsTime atime)
atime - the time when the file data was last accessed.public void setMtime(NfsTime mtime)
mtime - the time when the file data was last modified.public void marshalling(Xdr xdr)
xdr - public java.lang.String toString()
toString in class java.lang.Object