org.jruby.ext.posix
Class LinuxFileStat

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

public class LinuxFileStat
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
 short __pad1
           
 short __pad2
           
 int __unused4
           
 int __unused5
           
 int st_atime
           
 int st_atimensec
           
 int st_blksize
           
 int st_blocks
           
 int st_ctime
           
 int st_ctimensec
           
 long st_dev
           
 int st_gid
           
 int st_ino
           
 int st_mode
           
 int st_mtime
           
 int st_mtimensec
           
 int st_nlink
           
 long st_rdev
           
 int 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
LinuxFileStat(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
 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, clear, equals, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setTypeMapper, size, toArray, toArray, toString, useMemory, useMemory, write, writeField
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

st_dev

public long st_dev

__pad1

public short __pad1

st_ino

public int st_ino

st_mode

public int st_mode

st_nlink

public int st_nlink

st_uid

public int st_uid

st_gid

public int st_gid

st_rdev

public long st_rdev

__pad2

public short __pad2

st_size

public int st_size

st_blksize

public int st_blksize

st_blocks

public int st_blocks

st_atime

public int st_atime

st_atimensec

public int st_atimensec

st_mtime

public int st_mtime

st_mtimensec

public int st_mtimensec

st_ctime

public int st_ctime

st_ctimensec

public int st_ctimensec

__unused4

public int __unused4

__unused5

public int __unused5
Constructor Detail

LinuxFileStat

public LinuxFileStat(POSIX 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()


Copyright © 2008. All Rights Reserved.