blob: eacaeef539df3bbd82420dc668d7676dfff95c29 (
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
|
package org.eclipse.swt.internal.cocoa;
public class NSDirectoryEnumerator extends NSEnumerator {
public NSDirectoryEnumerator() {
super();
}
public NSDirectoryEnumerator(int id) {
super(id);
}
public NSDictionary directoryAttributes() {
int result = OS.objc_msgSend(this.id, OS.sel_directoryAttributes);
return result != 0 ? new NSDictionary(result) : null;
}
public NSDictionary fileAttributes() {
int result = OS.objc_msgSend(this.id, OS.sel_fileAttributes);
return result != 0 ? new NSDictionary(result) : null;
}
public void skipDescendents() {
OS.objc_msgSend(this.id, OS.sel_skipDescendents);
}
}
|