diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KMountPoint.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KMountPoint.java | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KMountPoint.java b/kdejava/koala/org/kde/koala/KMountPoint.java new file mode 100644 index 00000000..f40f1797 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KMountPoint.java @@ -0,0 +1,73 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QtSupport; +import java.util.ArrayList; + +/** + + The KMountPoint class provides information about mounted and unmounted disks. + It provides a system independent interface to fstab. + @author Waldo Bastian <bastian@kde.org> + + @short The KMountPoint class provides information about mounted and unmounted disks. + +*/ +public class KMountPoint extends KShared { + protected KMountPoint(Class dummy){super((Class) null);} + public static final int NeedMountOptions = 1; + public static final int NeedRealDeviceName = 2; + + /** + Where this filesystem gets mounted from. + This can refer to a device, a remote server or something else. + @short Where this filesystem gets mounted from. + */ + public native String mountedFrom(); + /** + 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. + @short Canonical name of the device where the filesystem got mounted from. + */ + public native String realDeviceName(); + /** + Path where the filesystem is mounted or can be mounted. + @short Path where the filesystem is mounted or can be mounted. + */ + public native String mountPoint(); + /** + Type of filesystem + @short Type of filesystem + */ + public native String mountType(); + /** + Options used to mount the filesystem. + Only available when the NeedMountOptions flag was set. + @short Options used to mount the filesystem. + */ + public native ArrayList mountOptions(); + /** + This function gives a list of all possible mountpoints. (fstab) + @param infoNeeded Flags that specify which additional information + should be fetched. + @short This function gives a list of all possible mountpoints. + */ + // KMountPoint::List possibleMountPoints(int arg1); >>>> NOT CONVERTED + // KMountPoint::List possibleMountPoints(); >>>> NOT CONVERTED + /** + This function gives a list of all currently used mountpoints. (mtab) + @param infoNeeded Flags that specify which additional information + should be fetched. + @short This function gives a list of all currently used mountpoints. + */ + // KMountPoint::List currentMountPoints(int arg1); >>>> NOT CONVERTED + // KMountPoint::List currentMountPoints(); >>>> NOT CONVERTED + /** + When using supermount, the device name is in the options field + as dev=/my/device + @short When using supermount, the device name is in the options field as dev=/my/device + */ + public static native String devNameFromOptions(String[] options); +} |