summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFileInfo.java
blob: 73df9f3d36cf075717459c674d22e696b4f5a6b2 (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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.Calendar;

public class QFileInfo implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QFileInfo(Class dummy){}

	public static final int ReadOwner = 04000;
	public static final int WriteOwner = 02000;
	public static final int ExeOwner = 01000;
	public static final int ReadUser = 00400;
	public static final int WriteUser = 00200;
	public static final int ExeUser = 00100;
	public static final int ReadGroup = 00040;
	public static final int WriteGroup = 00020;
	public static final int ExeGroup = 00010;
	public static final int ReadOther = 00004;
	public static final int WriteOther = 00002;
	public static final int ExeOther = 00001;

	public QFileInfo() {
		newQFileInfo();
	}
	private native void newQFileInfo();
	public QFileInfo(String file) {
		newQFileInfo(file);
	}
	private native void newQFileInfo(String file);
	public QFileInfo(QFile arg1) {
		newQFileInfo(arg1);
	}
	private native void newQFileInfo(QFile arg1);
	public QFileInfo(QDir arg1, String fileName) {
		newQFileInfo(arg1,fileName);
	}
	private native void newQFileInfo(QDir arg1, String fileName);
	public QFileInfo(QFileInfo arg1) {
		newQFileInfo(arg1);
	}
	private native void newQFileInfo(QFileInfo arg1);
	public native void setFile(String file);
	public native void setFile(QFile arg1);
	public native void setFile(QDir arg1, String fileName);
	public native boolean exists();
	public native void refresh();
	public native boolean caching();
	public native void setCaching(boolean arg1);
	public native String filePath();
	public native String fileName();
	public native String absFilePath();
	public native String baseName(boolean complete);
	public native String baseName();
	public native String extension(boolean complete);
	public native String extension();
	public native String dirPath(boolean absPath);
	public native String dirPath();
	public native QDir dir(boolean absPath);
	public native QDir dir();
	public native boolean isReadable();
	public native boolean isWritable();
	public native boolean isExecutable();
	public native boolean isHidden();
	public native boolean isRelative();
	public native boolean convertToAbs();
	public native boolean isFile();
	public native boolean isDir();
	public native boolean isSymLink();
	public native String readLink();
	public native String owner();
	public native int ownerId();
	public native String group();
	public native int groupId();
	public native boolean permission(int permissionSpec);
	public native long size();
	public native Calendar created();
	public native Calendar lastModified();
	public native Calendar lastRead();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}