blob: 03ca1e8262129eb5797b335687b595cb4da4f4d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;
import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.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 TDEShared {
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);
}
|