|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjnr.ffi.Struct
jnr.posix.BaseHeapFileStat
jnr.posix.WindowsFileStat
public class WindowsFileStat
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jnr.ffi.Struct |
|---|
jnr.ffi.Struct.AbstractBoolean, jnr.ffi.Struct.AbstractMember, jnr.ffi.Struct.Address, jnr.ffi.Struct.AsciiString, jnr.ffi.Struct.AsciiStringRef, jnr.ffi.Struct.Boolean, jnr.ffi.Struct.Double, jnr.ffi.Struct.Enum<T extends Enum<T>>, jnr.ffi.Struct.Enum16<E extends Enum<E>>, jnr.ffi.Struct.Enum32<E extends Enum<E>>, jnr.ffi.Struct.Enum64<E extends Enum<E>>, jnr.ffi.Struct.Enum8<E extends Enum<E>>, jnr.ffi.Struct.EnumField<E>, jnr.ffi.Struct.EnumLong<E extends Enum<E>>, jnr.ffi.Struct.Float, jnr.ffi.Struct.Member, jnr.ffi.Struct.NumberField, jnr.ffi.Struct.Offset, jnr.ffi.Struct.Padding, jnr.ffi.Struct.Pointer, jnr.ffi.Struct.Signed16, jnr.ffi.Struct.Signed32, jnr.ffi.Struct.Signed64, jnr.ffi.Struct.Signed8, jnr.ffi.Struct.SignedLong, jnr.ffi.Struct.String, jnr.ffi.Struct.Unsigned16, jnr.ffi.Struct.Unsigned32, jnr.ffi.Struct.Unsigned64, jnr.ffi.Struct.Unsigned8, jnr.ffi.Struct.UnsignedLong, jnr.ffi.Struct.UTF8String, jnr.ffi.Struct.UTF8StringRef, jnr.ffi.Struct.UTFString, jnr.ffi.Struct.UTFStringRef, jnr.ffi.Struct.WBOOL |
| Field Summary | |
|---|---|
jnr.ffi.Struct.Signed64 |
st_atime
|
jnr.ffi.Struct.Signed64 |
st_ctime
|
jnr.ffi.Struct.Signed32 |
st_dev
|
jnr.ffi.Struct.Signed16 |
st_gid
|
jnr.ffi.Struct.Signed16 |
st_ino
|
jnr.ffi.Struct.Signed16 |
st_mode
|
jnr.ffi.Struct.Signed64 |
st_mtime
|
jnr.ffi.Struct.Signed16 |
st_nlink
|
jnr.ffi.Struct.Signed32 |
st_rdev
|
jnr.ffi.Struct.Signed64 |
st_size
|
jnr.ffi.Struct.Signed16 |
st_uid
|
| Fields inherited from class jnr.posix.BaseHeapFileStat |
|---|
posix |
| Fields inherited from interface jnr.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(jnr.posix.NativePOSIX 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 |
String |
toString()
|
int |
uid()
|
| Methods inherited from class jnr.posix.BaseHeapFileStat |
|---|
ftype, isBlockDev, isCharDev, isDirectory, isEmpty, isFifo, isFile, isGroupOwned, isIdentical, isNamedPipe, isSetgid, isSetuid, isSocket, isSticky, isSymlink, major, minor |
| Methods inherited from class jnr.ffi.Struct |
|---|
alignment, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, arrayBegin, arrayEnd, arrayOf, getMemory, getMemory, getRuntime, inner, isDirect, size, useMemory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final jnr.ffi.Struct.Signed32 st_dev
public final jnr.ffi.Struct.Signed16 st_ino
public final jnr.ffi.Struct.Signed16 st_mode
public final jnr.ffi.Struct.Signed16 st_nlink
public final jnr.ffi.Struct.Signed16 st_uid
public final jnr.ffi.Struct.Signed16 st_gid
public final jnr.ffi.Struct.Signed32 st_rdev
public final jnr.ffi.Struct.Signed64 st_size
public final jnr.ffi.Struct.Signed64 st_atime
public final jnr.ffi.Struct.Signed64 st_mtime
public final jnr.ffi.Struct.Signed64 st_ctime
| Constructor Detail |
|---|
public WindowsFileStat(jnr.posix.NativePOSIX 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 BaseHeapFileStatpublic boolean isExecutable()
isExecutable in interface FileStatisExecutable in class BaseHeapFileStatpublic boolean isExecutableReal()
isExecutableReal in interface FileStatisExecutableReal in class BaseHeapFileStatpublic boolean isOwned()
isOwned in interface FileStatisOwned in class BaseHeapFileStatpublic boolean isROwned()
isROwned in interface FileStatisROwned in class BaseHeapFileStatpublic boolean isReadable()
isReadable in interface FileStatisReadable in class BaseHeapFileStatpublic boolean isReadableReal()
isReadableReal in interface FileStatisReadableReal in class BaseHeapFileStatpublic boolean isWritable()
isWritable in interface FileStatisWritable in class BaseHeapFileStatpublic boolean isWritableReal()
isWritableReal in interface FileStatisWritableReal in class BaseHeapFileStatpublic String toString()
toString in class jnr.ffi.Struct
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||