|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jna.Structure
org.jruby.ext.posix.BaseNativeFileStat
org.jruby.ext.posix.LinuxFileStat
public class LinuxFileStat
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, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public long st_dev
public short __pad1
public int st_ino
public int st_mode
public int st_nlink
public int st_uid
public int st_gid
public long st_rdev
public short __pad2
public int st_size
public int st_blksize
public int st_blocks
public int st_atime
public int st_atimensec
public int st_mtime
public int st_mtimensec
public int st_ctime
public int st_ctimensec
public int __unused4
public int __unused5
Constructor Detail |
---|
public LinuxFileStat(POSIX posix)
Method Detail |
---|
public long atime()
public long blockSize()
public long blocks()
public long ctime()
public long dev()
public int gid()
public long ino()
public int mode()
public long mtime()
public int nlink()
public long rdev()
public long st_size()
FileStat
public int uid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |