Package com.sun.jna.platform.linux
Klasse LibC.Statvfs
java.lang.Object
com.sun.jna.Structure
com.sun.jna.platform.linux.LibC.Statvfs
- Umschließende Schnittstelle:
LibC
@FieldOrder({"f_bsize","f_frsize","f_blocks","f_bfree","f_bavail","f_files","f_ffree","f_favail","f_fsid","_f_unused","f_flag","f_namemax","_f_spare"})
public static class LibC.Statvfs
extends Structure
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen com.sun.jna.Structure
Structure.ByReference, Structure.ByValue, Structure.FieldOrder, Structure.StructField -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungint[]intVon Klasse geerbte Felder com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungLook up all fields in this class and superclasses.Returns this Structure's field names in their proper order.
When defining a newStructureyou shouldn't override this method, but useStructure.FieldOrderannotation to define your field order(this also works with inheritance)
If you want to do something non-standard you can override the method and define it as followedVon Klasse geerbte Methoden 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, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Felddetails
-
f_bsize
-
f_frsize
-
f_blocks
-
f_bfree
-
f_bavail
-
f_files
-
f_ffree
-
f_favail
-
f_fsid
-
_f_unused
public int _f_unused -
f_flag
-
f_namemax
-
_f_spare
public int[] _f_spare
-
-
Konstruktordetails
-
Statvfs
public Statvfs()
-
-
Methodendetails
-
getFieldList
Beschreibung aus Klasse kopiert:StructureLook up all fields in this class and superclasses.- Setzt außer Kraft:
getFieldListin KlasseStructure- Gibt zurück:
- ordered list of public
Fieldavailable on thisStructureclass.
-
getFieldOrder
Beschreibung aus Klasse kopiert:StructureReturns this Structure's field names in their proper order.
When defining a newStructureyou shouldn't override this method, but useStructure.FieldOrderannotation to define your field order(this also works with inheritance)
If you want to do something non-standard you can override the method and define it as followed
IMPORTANT When deriving from an existing Structure subclass, ensure that you augment the list provided by the superclass, e.g.protected ListgetFieldOrder() { return Arrays.asList(...); }
Field order must be explicitly indicated, since the field order as returned byprotected ListgetFieldOrder() { List fields = new LinkedList (super.getFieldOrder()); fields.addAll(Arrays.asList(...)); return fields; } Class.getFields()is not guaranteed to be predictable.- Setzt außer Kraft:
getFieldOrderin KlasseStructure- Gibt zurück:
- ordered list of field names
-