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[]
int
Von 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 newStructure
you shouldn't override this method, but useStructure.FieldOrder
annotation 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:Structure
Look up all fields in this class and superclasses.- Setzt außer Kraft:
getFieldList
in KlasseStructure
- Gibt zurück:
- ordered list of public
Field
available on thisStructure
class.
-
getFieldOrder
Beschreibung aus Klasse kopiert:Structure
Returns this Structure's field names in their proper order.
When defining a newStructure
you shouldn't override this method, but useStructure.FieldOrder
annotation 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 List
getFieldOrder() { return Arrays.asList(...); }
Field order must be explicitly indicated, since the field order as returned byprotected List
getFieldOrder() { List fields = new LinkedList (super.getFieldOrder()); fields.addAll(Arrays.asList(...)); return fields; } Class.getFields()
is not guaranteed to be predictable.- Setzt außer Kraft:
getFieldOrder
in KlasseStructure
- Gibt zurück:
- ordered list of field names
-