You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.6 KiB
74 lines
2.6 KiB
//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);
|
|
}
|