org.catacombae.jfuse.types.system
Class Stat

java.lang.Object
  extended by org.catacombae.jfuse.types.system.Stat
All Implemented Interfaces:
FileModeFlags

public class Stat
extends Object
implements FileModeFlags

Author:
erik

Field Summary
 Timespec st_atimespec
          Time of last access.
 long st_blocks
          Blocks allocated for file.
 long st_blocksize
          Optimal file sys I/O ops blocksize.
 Timespec st_ctimespec
          Time of last file status change.
 long st_dev
          Device inode resides on.
 long st_flags
          User defined flags for file.
 long st_gen
          File generation number.
 long st_gid
          Group-id of owner.
 long st_ino
          Inode's number.
 long st_mode
          Inode protection mode.
 Timespec st_mtimespec
          Time of last data modification.
 long st_nlink
          Number of hard links to the file.
 long st_rdev
          Device type, for special file inode.
 long st_size
          File size, in bytes.
 long st_uid
          User-id of owner.
 
Fields inherited from interface org.catacombae.jfuse.types.system.FileModeFlags
S_IFBLK, S_IFCHR, S_IFDIR, S_IFIFO, S_IFLNK, S_IFMT, S_IFREG, S_IFSOCK, S_IRGRP, S_IROTH, S_IRUSR, S_IRWXG, S_IRWXO, S_IRWXU, S_ISGID, S_ISUID, S_ISVTX, S_IWGRP, S_IWOTH, S_IWUSR, S_IXGRP, S_IXOTH, S_IXUSR
 
Constructor Summary
Stat()
           
 
Method Summary
 void printFields(String prefix, PrintStream ps)
           
 void zero()
          Zeroes all instance fields in the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

st_dev

public long st_dev
Device inode resides on. Type: dev_t (4 bytes)


st_ino

public long st_ino
Inode's number. Type: ino_t (4 bytes)


st_mode

public long st_mode
Inode protection mode. Type: mode_t (2 bytes)


st_nlink

public long st_nlink
Number of hard links to the file. Type: nlink_t (2 bytes)


st_uid

public long st_uid
User-id of owner. Type: uid_t (4 bytes)


st_gid

public long st_gid
Group-id of owner. Type: gid_t (4 bytes)


st_rdev

public long st_rdev
Device type, for special file inode. Type: dev_t (4 bytes)


st_atimespec

public final Timespec st_atimespec
Time of last access.


st_mtimespec

public final Timespec st_mtimespec
Time of last data modification.


st_ctimespec

public final Timespec st_ctimespec
Time of last file status change.


st_size

public long st_size
File size, in bytes. Type: off_t (8 bytes)


st_blocks

public long st_blocks
Blocks allocated for file. Type: quad_t (8 bytes)


st_blocksize

public long st_blocksize
Optimal file sys I/O ops blocksize. Type: u_long (4 bytes)


st_flags

public long st_flags
User defined flags for file. Type: u_long (4 bytes)


st_gen

public long st_gen
File generation number. Type: u_long (4 bytes)

Constructor Detail

Stat

public Stat()
Method Detail

zero

public void zero()
Zeroes all instance fields in the object.


printFields

public void printFields(String prefix,
                        PrintStream ps)