1 // java wrapper for vtkPDirectory object
7 public class vtkPDirectory extends vtkObject
10 private native int IsTypeOf_0(String id0);
11 public int IsTypeOf(String id0)
12 { return IsTypeOf_0(id0); }
14 private native int IsA_1(String id0);
15 public int IsA(String id0)
16 { return IsA_1(id0); }
18 private native boolean Load_2(String id0);
19 public boolean Load(String id0)
20 { return Load_2(id0); }
22 private native int Open_3(String id0);
23 public int Open(String id0)
24 { return Open_3(id0); }
26 private native int GetNumberOfFiles_4();
27 public int GetNumberOfFiles()
28 { return GetNumberOfFiles_4(); }
30 private native String GetFile_5(int id0);
31 public String GetFile(int id0)
32 { return GetFile_5(id0); }
34 private native int FileIsDirectory_6(String id0);
35 public int FileIsDirectory(String id0)
36 { return FileIsDirectory_6(id0); }
38 private native long GetFiles_7();
39 public vtkStringArray GetFiles() {
40 long temp = GetFiles_7();
42 if (temp == 0) return null;
43 return (vtkStringArray)vtkObjectBase.JAVA_OBJECT_MANAGER.getJavaObject(temp);
46 private native String GetPath_8();
47 public String GetPath()
48 { return GetPath_8(); }
50 private native void Clear_9();
54 public vtkPDirectory() { super(); }
56 public vtkPDirectory(long id) { super(id); }
57 public native long VTKInit();