jnr.posix
Class WindowsFileStat

java.lang.Object
  extended by jnr.posix.BaseFileStat
      extended by jnr.posix.WindowsFileStat
All Implemented Interfaces:
FileStat

public class WindowsFileStat
extends BaseFileStat


Field Summary
 
Fields inherited from class jnr.posix.BaseFileStat
memory, posix
 
Fields inherited from interface jnr.posix.FileStat
ALL_READ, ALL_WRITE, S_IFBLK, S_IFCHR, S_IFDIR, S_IFIFO, S_IFLNK, S_IFMT, S_IFREG, S_IFSOCK, S_IRGRP, S_IROTH, S_IRUSR, S_ISGID, S_ISUID, S_ISVTX, S_IWGRP, S_IWOTH, S_IWUSR, S_IXGRP, S_IXOTH, S_IXUGO, S_IXUSR
 
Constructor Summary
WindowsFileStat(jnr.posix.NativePOSIX posix)
           
 
Method Summary
 long atime()
           
 long blocks()
           
 long blockSize()
           
 long ctime()
           
 long dev()
           
 int gid()
           
 boolean groupMember(int gid)
           
 long ino()
           
 boolean isExecutable()
           
 boolean isExecutableReal()
           
 boolean isOwned()
           
 boolean isReadable()
           
 boolean isReadableReal()
           
 boolean isROwned()
           
 boolean isWritable()
           
 boolean isWritableReal()
           
 int mode()
           
 long mtime()
           
 int nlink()
           
 long rdev()
           
 long st_size()
          Note: Name 'st_size' since Structure has a 'size' method already
 String toString()
           
 int uid()
           
 
Methods inherited from class jnr.posix.BaseFileStat
ftype, isBlockDev, isCharDev, isDirectory, isEmpty, isFifo, isFile, isGroupOwned, isIdentical, isNamedPipe, isSetgid, isSetuid, isSocket, isSticky, isSymlink, major, minor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowsFileStat

public WindowsFileStat(jnr.posix.NativePOSIX posix)
Method Detail

atime

public long atime()

blockSize

public long blockSize()

blocks

public long blocks()

ctime

public long ctime()

dev

public long dev()

gid

public int gid()

ino

public long ino()

mode

public int mode()

mtime

public long mtime()

nlink

public int nlink()

rdev

public long rdev()

st_size

public long st_size()
Description copied from interface: FileStat
Note: Name 'st_size' since Structure has a 'size' method already


uid

public int uid()

groupMember

public boolean groupMember(int gid)
Specified by:
groupMember in interface FileStat
Overrides:
groupMember in class BaseFileStat

isExecutable

public boolean isExecutable()
Specified by:
isExecutable in interface FileStat
Overrides:
isExecutable in class BaseFileStat

isExecutableReal

public boolean isExecutableReal()
Specified by:
isExecutableReal in interface FileStat
Overrides:
isExecutableReal in class BaseFileStat

isOwned

public boolean isOwned()
Specified by:
isOwned in interface FileStat
Overrides:
isOwned in class BaseFileStat

isROwned

public boolean isROwned()
Specified by:
isROwned in interface FileStat
Overrides:
isROwned in class BaseFileStat

isReadable

public boolean isReadable()
Specified by:
isReadable in interface FileStat
Overrides:
isReadable in class BaseFileStat

isReadableReal

public boolean isReadableReal()
Specified by:
isReadableReal in interface FileStat
Overrides:
isReadableReal in class BaseFileStat

isWritable

public boolean isWritable()
Specified by:
isWritable in interface FileStat
Overrides:
isWritable in class BaseFileStat

isWritableReal

public boolean isWritableReal()
Specified by:
isWritableReal in interface FileStat
Overrides:
isWritableReal in class BaseFileStat

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014. All Rights Reserved.