public class NfsGetAttributes
extends java.lang.Object
| Constructor and Description |
|---|
NfsGetAttributes() |
| Modifier and Type | Method and Description |
|---|---|
NfsTime |
getAtime() |
NfsTime |
getCtime() |
long |
getFileid() |
long |
getFsid() |
long |
getGid() |
long |
getMode() |
NfsTime |
getMtime() |
long |
getNlink() |
long[] |
getRdev() |
long |
getSize() |
NfsType |
getType() |
long |
getUid() |
long |
getUsed() |
boolean |
isLoaded() |
java.lang.String |
toString() |
void |
unmarshalling(Xdr xdr)
Reads the Xdr response, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
public void unmarshalling(Xdr xdr)
xdr - public boolean isLoaded()
true if the properties have been loaded from NFS server data,
false otherwise.public NfsType getType()
enum ftype3 {
NF3REG = 1,
NF3DIR = 2,
NF3BLK = 3,
NF3CHR = 4,
NF3LNK = 5,
NF3SOCK = 6,
NF3FIFO = 7
};
The enumeration, ftype3, gives the type of a file. The type,
NF3REG, is a regular file, NF3DIR is a directory, NF3BLK is a
block special device file, NF3CHR is a character special device
file, NF3LNK is a symbolic link, NF3SOCK is a socket, and NF3FIFO
is a named pipe. Note that the precise enum encoding must be
followed.public long getMode()
public long getNlink()
public long getUid()
public long getGid()
public long getSize()
public long getUsed()
public long[] getRdev()
public long getFsid()
public long getFileid()
public NfsTime getAtime()
public NfsTime getMtime()
public NfsTime getCtime()
public java.lang.String toString()
toString in class java.lang.Object