summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFileInfo.java
blob: 5c342676308602ec5ed6df08de7b10446802635e (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 TQFileInfo implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQFileInfo(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 TQFileInfo() {
		newTQFileInfo();
	}
	private native void newTQFileInfo();
	public TQFileInfo(String file) {
		newTQFileInfo(file);
	}
	private native void newTQFileInfo(String file);
	public TQFileInfo(TQFile arg1) {
		newTQFileInfo(arg1);
	}
	private native void newTQFileInfo(TQFile arg1);
	public TQFileInfo(TQDir arg1, String fileName) {
		newTQFileInfo(arg1,fileName);
	}
	private native void newTQFileInfo(TQDir arg1, String fileName);
	public TQFileInfo(TQFileInfo arg1) {
		newTQFileInfo(arg1);
	}
	private native void newTQFileInfo(TQFileInfo arg1);
	public native void setFile(String file);
	public native void setFile(TQFile arg1);
	public native void setFile(TQDir 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 TQDir dir(boolean absPath);
	public native TQDir 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();
}