Package jnr.posix.windows
Class WindowsByHandleFileInformation
- java.lang.Object
-
- jnr.ffi.Struct
-
- jnr.posix.windows.CommonFileInformation
-
- jnr.posix.windows.WindowsByHandleFileInformation
-
public class WindowsByHandleFileInformation extends CommonFileInformation
BY_HANDLE_FILE_INFORMATION
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jnr.posix.windows.CommonFileInformation
CommonFileInformation.HackyFileTime
-
Nested classes/interfaces inherited from class jnr.ffi.Struct
jnr.ffi.Struct.AbstractBoolean, jnr.ffi.Struct.AbstractMember, jnr.ffi.Struct.Address, jnr.ffi.Struct.Alignment, jnr.ffi.Struct.AsciiString, jnr.ffi.Struct.AsciiStringRef, jnr.ffi.Struct.blkcnt_t, jnr.ffi.Struct.blksize_t, jnr.ffi.Struct.BOOL16, jnr.ffi.Struct.Boolean, jnr.ffi.Struct.BYTE, jnr.ffi.Struct.caddr_t, jnr.ffi.Struct.cc_t, jnr.ffi.Struct.clock_t, jnr.ffi.Struct.dev_t, jnr.ffi.Struct.Double, jnr.ffi.Struct.DWORD, jnr.ffi.Struct.Enum<T extends java.lang.Enum<T>>, jnr.ffi.Struct.Enum16<E extends java.lang.Enum<E>>, jnr.ffi.Struct.Enum32<E extends java.lang.Enum<E>>, jnr.ffi.Struct.Enum64<E extends java.lang.Enum<E>>, jnr.ffi.Struct.Enum8<E extends java.lang.Enum<E>>, jnr.ffi.Struct.EnumField<E extends java.lang.Object>, jnr.ffi.Struct.EnumLong<E extends java.lang.Enum<E>>, jnr.ffi.Struct.Float, jnr.ffi.Struct.fsblkcnt_t, jnr.ffi.Struct.fsfilcnt_t, jnr.ffi.Struct.Function<T extends java.lang.Object>, jnr.ffi.Struct.gid_t, jnr.ffi.Struct.id_t, jnr.ffi.Struct.in_addr_t, jnr.ffi.Struct.in_port_t, jnr.ffi.Struct.ino_t, jnr.ffi.Struct.ino64_t, jnr.ffi.Struct.int16_t, jnr.ffi.Struct.int32_t, jnr.ffi.Struct.int64_t, jnr.ffi.Struct.int8_t, jnr.ffi.Struct.IntegerAlias, jnr.ffi.Struct.intptr_t, jnr.ffi.Struct.key_t, jnr.ffi.Struct.LONG, jnr.ffi.Struct.Member, jnr.ffi.Struct.mode_t, jnr.ffi.Struct.nlink_t, jnr.ffi.Struct.NumberField, jnr.ffi.Struct.off_t, jnr.ffi.Struct.Offset, jnr.ffi.Struct.Padding, jnr.ffi.Struct.pid_t, jnr.ffi.Struct.Pointer, jnr.ffi.Struct.PointerField, jnr.ffi.Struct.rlim_t, jnr.ffi.Struct.sa_family_t, jnr.ffi.Struct.Signed16, jnr.ffi.Struct.Signed32, jnr.ffi.Struct.Signed64, jnr.ffi.Struct.Signed8, jnr.ffi.Struct.SignedLong, jnr.ffi.Struct.size_t, jnr.ffi.Struct.socklen_t, jnr.ffi.Struct.speed_t, jnr.ffi.Struct.ssize_t, jnr.ffi.Struct.String, jnr.ffi.Struct.StructRef<T extends jnr.ffi.Struct>, jnr.ffi.Struct.swblk_t, jnr.ffi.Struct.tcflag_t, jnr.ffi.Struct.time_t, jnr.ffi.Struct.u_int16_t, jnr.ffi.Struct.u_int32_t, jnr.ffi.Struct.u_int64_t, jnr.ffi.Struct.u_int8_t, jnr.ffi.Struct.uid_t, jnr.ffi.Struct.uintptr_t, 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, jnr.ffi.Struct.WORD
-
-
Field Summary
Fields Modifier and Type Field Description (package private) jnr.ffi.Struct.UnsignedLongahigh(package private) jnr.ffi.Struct.UnsignedLongalow(package private) jnr.ffi.Struct.UnsignedLongchigh(package private) jnr.ffi.Struct.UnsignedLongclow(package private) jnr.ffi.Struct.Unsigned32dwFileAttributes(package private) jnr.ffi.Struct.Unsigned32dwVolumeSerialNumber(package private) jnr.ffi.Struct.Unsigned32nFileIndexHigh(package private) jnr.ffi.Struct.Unsigned32nFileIndexLow(package private) jnr.ffi.Struct.Unsigned32nFileSizeHigh(package private) jnr.ffi.Struct.Unsigned32nFileSizeLow(package private) jnr.ffi.Struct.Unsigned32nNumberOfLinks(package private) jnr.ffi.Struct.UnsignedLonguhigh(package private) jnr.ffi.Struct.UnsignedLongulow-
Fields inherited from class jnr.posix.windows.CommonFileInformation
FILE_ATTRIBUTE_DIRECTORY, FILE_ATTRIBUTE_READONLY
-
-
Constructor Summary
Constructors Constructor Description WindowsByHandleFileInformation(jnr.ffi.Runtime runtime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonFileInformation.HackyFileTimegetCreationTime()intgetFileAttributes()longgetFileSizeHigh()longgetFileSizeLow()CommonFileInformation.HackyFileTimegetLastAccessTime()CommonFileInformation.HackyFileTimegetLastWriteTime()-
Methods inherited from class jnr.posix.windows.CommonFileInformation
asNanoSeconds, getCreationTimeMicroseconds, getFileSize, getLastAccessTimeMicroseconds, getLastWriteTimeMicroseconds, getMode
-
Methods inherited from class jnr.ffi.Struct
alignment, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, array, arrayBegin, arrayEnd, arrayOf, function, getMemory, getMemory, getRuntime, inner, isDirect, size, toString, useMemory
-
-
-
-
Field Detail
-
dwFileAttributes
final jnr.ffi.Struct.Unsigned32 dwFileAttributes
-
chigh
final jnr.ffi.Struct.UnsignedLong chigh
-
clow
final jnr.ffi.Struct.UnsignedLong clow
-
ahigh
final jnr.ffi.Struct.UnsignedLong ahigh
-
alow
final jnr.ffi.Struct.UnsignedLong alow
-
uhigh
final jnr.ffi.Struct.UnsignedLong uhigh
-
ulow
final jnr.ffi.Struct.UnsignedLong ulow
-
dwVolumeSerialNumber
final jnr.ffi.Struct.Unsigned32 dwVolumeSerialNumber
-
nFileSizeHigh
final jnr.ffi.Struct.Unsigned32 nFileSizeHigh
-
nFileSizeLow
final jnr.ffi.Struct.Unsigned32 nFileSizeLow
-
nNumberOfLinks
final jnr.ffi.Struct.Unsigned32 nNumberOfLinks
-
nFileIndexHigh
final jnr.ffi.Struct.Unsigned32 nFileIndexHigh
-
nFileIndexLow
final jnr.ffi.Struct.Unsigned32 nFileIndexLow
-
-
Method Detail
-
getCreationTime
public CommonFileInformation.HackyFileTime getCreationTime()
- Specified by:
getCreationTimein classCommonFileInformation
-
getLastAccessTime
public CommonFileInformation.HackyFileTime getLastAccessTime()
- Specified by:
getLastAccessTimein classCommonFileInformation
-
getLastWriteTime
public CommonFileInformation.HackyFileTime getLastWriteTime()
- Specified by:
getLastWriteTimein classCommonFileInformation
-
getFileAttributes
public int getFileAttributes()
- Specified by:
getFileAttributesin classCommonFileInformation
-
getFileSizeHigh
public long getFileSizeHigh()
- Specified by:
getFileSizeHighin classCommonFileInformation
-
getFileSizeLow
public long getFileSizeLow()
- Specified by:
getFileSizeLowin classCommonFileInformation
-
-