Package ch.bailu.gtk.gio
Klasse UnixMountPoint
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.UnixMountPoint
- Alle implementierten Schnittstellen:
PointerInterface
Defines a Unix mount point (e.g. `/dev`).
This corresponds roughly to a fstab entry.
This corresponds roughly to a fstab entry.
-
Feldübersicht
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
compare
(UnixMountPoint mount2) Compares two Unix mount points.copy()
Makes a copy of @mount_point.void
free()
Frees a Unix mount point.static ClassHandler
Gets the device path for a Unix mount point.Gets the file system type for the mount point.static int
Gets the mount path for a Unix mount point.Gets the options for the mount point.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
boolean
Guesses whether a Unix mount point can be ejected.Guesses the icon of a Unix mount point.Guesses the name of a Unix mount point.Guesses the symbolic icon of a Unix mount point.boolean
Checks if a Unix mount point is a loopback device.boolean
Checks if a Unix mount point is read only.boolean
Checks if a Unix mount point is mountable by the user.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Konstruktordetails
-
UnixMountPoint
-
-
Methodendetails
-
getClassHandler
-
compare
Compares two Unix mount points.- Parameter:
mount2
- a [struct@GioUnix.MountPoint]- Gibt zurück:
- `1`, `0` or `-1` if @mount1 is greater than, equal to, or less than @mount2, respectively
-
copy
Makes a copy of @mount_point.- Gibt zurück:
- a new [struct@GioUnix.MountPoint]
-
free
public void free()Frees a Unix mount point. -
getDevicePath
Gets the device path for a Unix mount point.- Gibt zurück:
- a string containing the device path
-
getFsType
Gets the file system type for the mount point.- Gibt zurück:
- a string containing the file system type
-
getMountPath
Gets the mount path for a Unix mount point.- Gibt zurück:
- a string containing the mount path
-
getOptions
Gets the options for the mount point.- Gibt zurück:
- a string containing the options
-
guessCanEject
public boolean guessCanEject()Guesses whether a Unix mount point can be ejected.- Gibt zurück:
- true if @mount_point is deemed to be ejectable; false otherwise
-
guessIcon
Guesses the icon of a Unix mount point.- Gibt zurück:
- a [iface@Gio.Icon]
-
guessName
Guesses the name of a Unix mount point.
The result is a translated string.- Gibt zurück:
- a newly allocated translated string
-
guessSymbolicIcon
Guesses the symbolic icon of a Unix mount point.- Gibt zurück:
- a [iface@Gio.Icon]
-
isLoopback
public boolean isLoopback()Checks if a Unix mount point is a loopback device.- Gibt zurück:
- true if the mount point is a loopback device; false otherwise
-
isReadonly
public boolean isReadonly()Checks if a Unix mount point is read only.- Gibt zurück:
- true if a mount point is read only; false otherwise
-
isUserMountable
public boolean isUserMountable()Checks if a Unix mount point is mountable by the user.- Gibt zurück:
- true if the mount point is user mountable; false otherwise
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-