org.jruby.ext.posix
public abstract class BaseNativeFileStat extends com.sun.jna.Structure implements FileStat
Modifier and Type | Field and Description |
---|---|
protected POSIX |
posix |
Constructor and Description |
---|
BaseNativeFileStat(POSIX posix) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ftype() |
boolean |
groupMember(int gid) |
boolean |
isBlockDev() |
boolean |
isCharDev() |
boolean |
isDirectory() |
boolean |
isEmpty() |
boolean |
isExecutable() |
boolean |
isExecutableReal() |
boolean |
isFifo() |
boolean |
isFile() |
boolean |
isGroupOwned() |
boolean |
isIdentical(FileStat other) |
boolean |
isNamedPipe() |
boolean |
isOwned() |
boolean |
isReadable() |
boolean |
isReadableReal() |
boolean |
isROwned() |
boolean |
isSetgid() |
boolean |
isSetuid() |
boolean |
isSocket() |
boolean |
isSticky() |
boolean |
isSymlink() |
boolean |
isWritable() |
boolean |
isWritableReal() |
int |
major(long dev) |
int |
minor(long dev) |
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, toString, useMemory, useMemory, write, writeField, writeField
protected POSIX posix
public BaseNativeFileStat(POSIX posix)
public boolean groupMember(int gid)
groupMember
in interface FileStat
public boolean isBlockDev()
isBlockDev
in interface FileStat
public boolean isDirectory()
isDirectory
in interface FileStat
public boolean isExecutable()
isExecutable
in interface FileStat
public boolean isExecutableReal()
isExecutableReal
in interface FileStat
public boolean isGroupOwned()
isGroupOwned
in interface FileStat
public boolean isIdentical(FileStat other)
isIdentical
in interface FileStat
public boolean isNamedPipe()
isNamedPipe
in interface FileStat
public boolean isReadable()
isReadable
in interface FileStat
public boolean isReadableReal()
isReadableReal
in interface FileStat
public boolean isWritable()
isWritable
in interface FileStat
public boolean isWritableReal()
isWritableReal
in interface FileStat