org.jruby.ext.posix
Class MacOSFileStat

java.lang.Object
  extended by com.sun.jna.Structure
      extended by org.jruby.ext.posix.BaseNativeFileStat
          extended by org.jruby.ext.posix.MacOSFileStat
All Implemented Interfaces:
FileStat

public class MacOSFileStat
extends BaseNativeFileStat


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue
 
Field Summary
 int st_atime
           
 int st_atimensec
           
 int st_blksize
           
 long st_blocks
           
 int st_ctime
           
 int st_ctimensec
           
 int st_dev
           
 int st_flags
           
 int st_gen
           
 int st_gid
           
 int st_ino
           
 int st_lspare
           
 short st_mode
           
 int st_mtime
           
 int st_mtimensec
           
 short st_nlink
           
 long[] st_qspare
           
 int st_rdev
           
 long st_size
           
 int st_uid
           
 
Fields inherited from class org.jruby.ext.posix.BaseNativeFileStat
posix
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Fields inherited from interface org.jruby.ext.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
MacOSFileStat(POSIX posix)
           
 
Method Summary
 long atime()
           
 long blocks()
           
 long blockSize()
           
 long ctime()
           
 long dev()
           
 int gid()
           
 long ino()
           
 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 org.jruby.ext.posix.BaseNativeFileStat
ftype, groupMember, isBlockDev, isCharDev, isDirectory, isEmpty, isExecutable, isExecutableReal, isFifo, isFile, isGroupOwned, isIdentical, isNamedPipe, isOwned, isReadable, isReadableReal, isROwned, isSetgid, isSetuid, isSocket, isSticky, isSymlink, isWritable, isWritableReal, major, minor
 
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getFields, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, useMemory, useMemory, write, writeField, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

st_dev

public volatile int st_dev

st_ino

public volatile int st_ino

st_mode

public volatile short st_mode

st_nlink

public volatile short st_nlink

st_uid

public volatile int st_uid

st_gid

public volatile int st_gid

st_rdev

public volatile int st_rdev

st_atime

public volatile int st_atime

st_atimensec

public volatile int st_atimensec

st_mtime

public volatile int st_mtime

st_mtimensec

public volatile int st_mtimensec

st_ctime

public volatile int st_ctime

st_ctimensec

public volatile int st_ctimensec

st_size

public volatile long st_size

st_blocks

public volatile long st_blocks

st_blksize

public volatile int st_blksize

st_flags

public volatile int st_flags

st_gen

public volatile int st_gen

st_lspare

public volatile int st_lspare

st_qspare

public volatile long[] st_qspare
Constructor Detail

MacOSFileStat

public MacOSFileStat(POSIX posix)
Method Detail

atime

public long atime()

blocks

public long blocks()

blockSize

public long blockSize()

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()

toString

public String toString()
Overrides:
toString in class com.sun.jna.Structure


Copyright © 2011. All Rights Reserved.