Class DokanyFileInfo
java.lang.Object
com.sun.jna.Structure
org.cryptomator.frontend.dokany.internal.structure.DokanyFileInfo
- All Implemented Interfaces:
com.sun.jna.Structure.ByReference
public class DokanyFileInfo
extends com.sun.jna.Structure
implements com.sun.jna.Structure.ByReference
From dokan.h
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.ByReference, com.sun.jna.Structure.ByValue, com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionlongThis can be used to carry information between operation.byteFlag if the file has to be delete duringDokanyOperations.Cleanupevent.longReserved.A pointer toDeviceOptionswhich was passed toNativeMethods.DokanMain(org.cryptomator.frontend.dokany.internal.structure.DeviceOptions, org.cryptomator.frontend.dokany.internal.structure.DokanyOperations).byteRequesting a directory file.byteRead or write directly from data source without cache.byteRead or write is paging IO.intProcess id for the thread that originally requested a given I/O operation.byteRead or write is synchronous IO.byteIf true, write to the current end of file instead of using the Offset parameter.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
Context
public long ContextThis can be used to carry information between operation. HANDLE This can be whatever type such asWinNT.HANDLE,Structure,IntByReference,Pointerthat will help the implementation understand the request context of the event. -
DokanContext
public long DokanContextReserved. Used internally by Dokany library. Never modify. -
DokanOptions
A pointer toDeviceOptionswhich was passed toNativeMethods.DokanMain(org.cryptomator.frontend.dokany.internal.structure.DeviceOptions, org.cryptomator.frontend.dokany.internal.structure.DokanyOperations). -
ProcessId
public int ProcessIdProcess id for the thread that originally requested a given I/O operation. -
IsDirectory
public byte IsDirectoryRequesting a directory file. Must be set inDokanyOperations.ZwCreateFileif the file object appears to be a directory. -
DeleteOnClose
public byte DeleteOnCloseFlag if the file has to be delete duringDokanyOperations.Cleanupevent. -
PagingIo
public byte PagingIoRead or write is paging IO. -
SynchronousIo
public byte SynchronousIoRead or write is synchronous IO. -
Nocache
public byte NocacheRead or write directly from data source without cache. -
WriteToEndOfFile
public byte WriteToEndOfFileIf true, write to the current end of file instead of using the Offset parameter.
-
-
Constructor Details
-
DokanyFileInfo
public DokanyFileInfo()
-
-
Method Details
-
getFieldOrder
- Overrides:
getFieldOrderin classcom.sun.jna.Structure
-
isDirectory
public final boolean isDirectory() -
deleteOnClose
public final boolean deleteOnClose() -
pagingIo
public final boolean pagingIo() -
synchronousIo
public final boolean synchronousIo() -
noCache
public final boolean noCache() -
writeToEndOfFile
public final boolean writeToEndOfFile() -
toString
- Overrides:
toStringin classcom.sun.jna.Structure
-