|
||||||||||
| 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.WindowsFileStat
public class WindowsFileStat
| 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 |
spare1
|
int |
spare2
|
int |
st_atime
|
long |
st_blksize
|
long |
st_blocks
|
int |
st_ctime
|
int |
st_dev
|
short |
st_gid
|
short |
st_ino
|
short |
st_mode
|
int |
st_mtime
|
short |
st_nlink
|
int |
st_rdev
|
long |
st_size
|
short |
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 | |
|---|---|
WindowsFileStat(POSIX 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 |
java.lang.String |
toString()
|
int |
uid()
|
| Methods inherited from class org.jruby.ext.posix.BaseNativeFileStat |
|---|
ftype, isBlockDev, isCharDev, isDirectory, isEmpty, isFifo, isFile, isGroupOwned, isIdentical, isNamedPipe, isSetgid, isSetuid, isSocket, isSticky, isSymlink, 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, useMemory, useMemory, write, writeField, writeField |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int st_dev
public short st_ino
public short st_mode
public short st_nlink
public short st_uid
public short st_gid
public int st_rdev
public long st_size
public int st_atime
public int spare1
public int st_mtime
public int spare2
public int st_ctime
public long st_blksize
public long st_blocks
| Constructor Detail |
|---|
public WindowsFileStat(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()
public boolean groupMember(int gid)
groupMember in interface FileStatgroupMember in class BaseNativeFileStatpublic boolean isExecutable()
isExecutable in interface FileStatisExecutable in class BaseNativeFileStatpublic boolean isExecutableReal()
isExecutableReal in interface FileStatisExecutableReal in class BaseNativeFileStatpublic boolean isOwned()
isOwned in interface FileStatisOwned in class BaseNativeFileStatpublic boolean isROwned()
isROwned in interface FileStatisROwned in class BaseNativeFileStatpublic boolean isReadable()
isReadable in interface FileStatisReadable in class BaseNativeFileStatpublic boolean isReadableReal()
isReadableReal in interface FileStatisReadableReal in class BaseNativeFileStatpublic boolean isWritable()
isWritable in interface FileStatisWritable in class BaseNativeFileStatpublic boolean isWritableReal()
isWritableReal in interface FileStatisWritableReal in class BaseNativeFileStatpublic java.lang.String toString()
toString in class com.sun.jna.Structure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||