org.kde.koala
Class KMountPoint

java.lang.Object
  extended by org.kde.koala.KShared
      extended by org.kde.koala.KMountPoint
All Implemented Interfaces:
org.kde.qt.QtSupport

public class KMountPoint
extends KShared

The KMountPoint class provides information about mounted and unmounted disks. It provides a system independent interface to fstab.

Author:
Waldo Bastian

Field Summary
static int NeedMountOptions
           
static int NeedRealDeviceName
           
 
Constructor Summary
protected KMountPoint(java.lang.Class dummy)
           
 
Method Summary
static java.lang.String devNameFromOptions(java.lang.String[] options)
          When using supermount, the device name is in the options field as dev=/my/device
 java.lang.String mountedFrom()
          Where this filesystem gets mounted from.
 java.util.ArrayList mountOptions()
          Options used to mount the filesystem.
 java.lang.String mountPoint()
          Path where the filesystem is mounted or can be mounted.
 java.lang.String mountType()
          Type of filesystem
 java.lang.String realDeviceName()
          Canonical name of the device where the filesystem got mounted from.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NeedMountOptions

public static final int NeedMountOptions
See Also:
Constant Field Values

NeedRealDeviceName

public static final int NeedRealDeviceName
See Also:
Constant Field Values
Constructor Detail

KMountPoint

protected KMountPoint(java.lang.Class dummy)
Method Detail

mountedFrom

public java.lang.String mountedFrom()
Where this filesystem gets mounted from. This can refer to a device, a remote server or something else.


realDeviceName

public java.lang.String realDeviceName()
Canonical name of the device where the filesystem got mounted from. (Or empty, if not a device) Only available when the NeedRealDeviceName flag was set.


mountPoint

public java.lang.String mountPoint()
Path where the filesystem is mounted or can be mounted.


mountType

public java.lang.String mountType()
Type of filesystem


mountOptions

public java.util.ArrayList mountOptions()
Options used to mount the filesystem. Only available when the NeedMountOptions flag was set.


devNameFromOptions

public static java.lang.String devNameFromOptions(java.lang.String[] options)
When using supermount, the device name is in the options field as dev=/my/device