KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > wsh > IFile


1 // GENERATED. DO NOT MODIFY
2
package wsh;
3
4 import com4j.*;
5
6 @IID("{C7C3F5A4-88A3-11D0-ABCB-00A0C90FFFC0}")
7 public interface IFile extends Com4jObject {
8     @VTID(7)
9     java.lang.String JavaDoc path();
10
11     @VTID(8)
12     java.lang.String JavaDoc name();
13
14     @VTID(9)
15     void name(
16         java.lang.String JavaDoc pbstrName);
17
18     @VTID(10)
19     java.lang.String JavaDoc shortPath();
20
21     @VTID(11)
22     java.lang.String JavaDoc shortName();
23
24     @VTID(12)
25     IDrive drive();
26
27     @VTID(13)
28     IFolder parentFolder();
29
30     @VTID(14)
31     FileAttribute attributes();
32
33     @VTID(15)
34     void attributes(
35         FileAttribute pfa);
36
37     @VTID(16)
38     java.util.Date JavaDoc dateCreated();
39
40     @VTID(17)
41     java.util.Date JavaDoc dateLastModified();
42
43     @VTID(18)
44     java.util.Date JavaDoc dateLastAccessed();
45
46     @VTID(19)
47     java.lang.Object JavaDoc size();
48
49     @VTID(20)
50     java.lang.String JavaDoc type();
51
52     @VTID(21)
53     void delete(
54         boolean force);
55
56     @VTID(22)
57     void copy(
58         java.lang.String JavaDoc destination,
59         boolean overWriteFiles);
60
61     @VTID(23)
62     void move(
63         java.lang.String JavaDoc destination);
64
65     @VTID(24)
66     ITextStream openAsTextStream(
67         IOMode iOMode,
68         Tristate format);
69
70 }
71
Popular Tags