org.jruby.ext.posix
Class LinuxHeapFileStat

java.lang.Object
  extended by org.jruby.ext.posix.HeapStruct
      extended by org.jruby.ext.posix.BaseHeapFileStat
          extended by org.jruby.ext.posix.LinuxHeapFileStat
All Implemented Interfaces:
com.sun.jna.NativeMapped, FileStat

public final class LinuxHeapFileStat
extends BaseHeapFileStat


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.ext.posix.HeapStruct
HeapStruct.Byte, HeapStruct.Field, HeapStruct.Int16, HeapStruct.Int32, HeapStruct.Int64, HeapStruct.Int8, HeapStruct.Integer, HeapStruct.Long, HeapStruct.LongLong, HeapStruct.Short, HeapStruct.UInt16, HeapStruct.UInt32, HeapStruct.UInt8, HeapStruct.ULong
 
Field Summary
 HeapStruct.Short __pad1
           
 HeapStruct.Short __pad2
           
 HeapStruct.Int32 __unused4
           
 HeapStruct.Int64 __unused5
           
 HeapStruct.Int32 st_atim_nsec
           
 HeapStruct.Int32 st_atim_sec
           
 HeapStruct.Int32 st_blksize
           
 HeapStruct.Int32 st_blocks
           
 HeapStruct.Int32 st_ctim_nsec
           
 HeapStruct.Int32 st_ctim_sec
           
 HeapStruct.Int64 st_dev
           
 HeapStruct.Int32 st_gid
           
 HeapStruct.Int32 st_ino
           
 HeapStruct.Int32 st_mode
           
 HeapStruct.Int32 st_mtim_nsec
           
 HeapStruct.Int32 st_mtim_sec
           
 HeapStruct.Int32 st_nlink
           
 HeapStruct.Int64 st_rdev
           
 HeapStruct.Int64 st_size
           
 HeapStruct.Int32 st_uid
           
 
Fields inherited from class org.jruby.ext.posix.BaseHeapFileStat
posix
 
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
LinuxHeapFileStat()
           
LinuxHeapFileStat(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.BaseHeapFileStat
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 org.jruby.ext.posix.HeapStruct
addField, array, fromNative, getByteBuffer, getStructSize, nativeType, toNative
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.jna.NativeMapped
fromNative, nativeType, toNative
 

Field Detail

st_dev

public final HeapStruct.Int64 st_dev

__pad1

public final HeapStruct.Short __pad1

st_ino

public final HeapStruct.Int32 st_ino

st_mode

public final HeapStruct.Int32 st_mode

st_nlink

public final HeapStruct.Int32 st_nlink

st_uid

public final HeapStruct.Int32 st_uid

st_gid

public final HeapStruct.Int32 st_gid

st_rdev

public final HeapStruct.Int64 st_rdev

__pad2

public final HeapStruct.Short __pad2

st_size

public final HeapStruct.Int64 st_size

st_blksize

public final HeapStruct.Int32 st_blksize

st_blocks

public final HeapStruct.Int32 st_blocks

__unused4

public final HeapStruct.Int32 __unused4

st_atim_sec

public final HeapStruct.Int32 st_atim_sec

st_atim_nsec

public final HeapStruct.Int32 st_atim_nsec

st_mtim_sec

public final HeapStruct.Int32 st_mtim_sec

st_mtim_nsec

public final HeapStruct.Int32 st_mtim_nsec

st_ctim_sec

public final HeapStruct.Int32 st_ctim_sec

st_ctim_nsec

public final HeapStruct.Int32 st_ctim_nsec

__unused5

public final HeapStruct.Int64 __unused5
Constructor Detail

LinuxHeapFileStat

public LinuxHeapFileStat()

LinuxHeapFileStat

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


Copyright © 2011. All Rights Reserved.