Klasse UnixMountPoint

Alle implementierten Schnittstellen:
PointerInterface

public class UnixMountPoint extends Record
Defines a Unix mount point (e.g. `/dev`).
This corresponds roughly to a fstab entry.

https://docs.gtk.org/gio/struct.UnixMountPoint.html

  • Konstruktordetails

  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • compare

      public int compare(@Nonnull UnixMountPoint mount2)
      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

      public UnixMountPoint 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

      public Str getDevicePath()
      Gets the device path for a Unix mount point.
      Gibt zurück:
      a string containing the device path
    • getFsType

      public Str getFsType()
      Gets the file system type for the mount point.
      Gibt zurück:
      a string containing the file system type
    • getMountPath

      public Str getMountPath()
      Gets the mount path for a Unix mount point.
      Gibt zurück:
      a string containing the mount path
    • getOptions

      public Str 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

      public Icon guessIcon()
      Guesses the icon of a Unix mount point.
      Gibt zurück:
      a [iface@Gio.Icon]
    • guessName

      public Str guessName()
      Guesses the name of a Unix mount point.

      The result is a translated string.
      Gibt zurück:
      a newly allocated translated string
    • guessSymbolicIcon

      public Icon 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

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()