source: Include/Classes/System/IO/File.ab@ 272

Last change on this file since 272 was 271, checked in by dai, 17 years ago

SHFILEOPSTRUCT.hWnd → SHFILEOPSTRUCT.hwnd
System.IOに属するクラスに名前空間を適用した。

File size: 5.7 KB
Line 
1Namespace System
2Namespace IO
3
4
5Enum FileAccess
6 Read
7 ReadWrite
8 Write
9End Enum
10
11Enum FileAttributes
12 Archive
13 Compressed
14 Device
15 Directory
16 Encrypted
17 Hidden
18 Normal
19 NotContentIndexed
20 Offline
21 ReadOnly
22 ReparsePoint
23 SparseFile
24 System
25 Temporary
26End Enum
27
28Enum FileMode
29 Append
30 Create
31 CreateNew
32 Open
33 OpenOrCreate
34 Truncate
35End Enum
36
37Enum FileShare
38 DeleteFile
39 None
40 Read
41 ReadWrite
42 Write
43End Enum
44
45Class File
46Public
47
48 Static Sub AppendAllText( path As String, contents As String )
49 ' TODO: 実装
50 End Sub
51
52/* Static Sub AppendAllText( path As String, contents As String, encoding As Encoding )
53 ' TODO: 実装
54 End Sub */
55
56 Static Function AppendText( path As String ) As StreamWriter
57 ' TODO: 実装
58 End Function
59
60 Static Sub Copy( sourceFileName As String, destFileName As String )
61 ' TODO: 実装
62 End Sub
63
64 Static Sub Copy( sourceFileName As String, destFileName As String, overwrite As Boolean )
65 ' TODO: 実装
66 End Sub
67
68 Static Function Create( path As String ) As FileStream
69 ' TODO: 実装
70 End Function
71
72 Static Function Create( path As String, bufferSize As Long ) As FileStream
73 ' TODO: 実装
74 End Function
75
76/* Static Function Create( path As String, bufferSize As Long, options As FileOptions ) As FileStream
77 ' TODO: 実装
78 End Function */
79
80/* Static Function Create( path As String, bufferSize As Long, options As FileOptions, fileSecurity As FileSecurity ) As FileStream
81 ' TODO: 実装
82 End Function */
83
84 Static Function CreateText( path As String ) As StreamWriter
85 ' TODO: 実装
86 End Function
87
88 Static Sub Decrypt( path As String )
89 ' TODO: 実装
90 End Sub
91
92 Static Sub DeleteFile( path As String )
93 ' TODO: 実装
94 End Sub
95
96 Static Sub Encrypt( path As String )
97 ' TODO: 実装
98 End Sub
99
100 Static Function Exists( path As String ) As Boolean
101 ' TODO: 実装
102 End Function
103
104/* Static Function GetAccessControl( path As String ) As FileSecurity
105 ' TODO: 実装
106 End Function */
107
108/* Static Function GetAccessControl( path As String, includeSections As AccessControlSections ) As FileSecurity
109 ' TODO: 実装
110 End Function */
111
112 Static Function GetAttributes( path As String ) As FileAttributes
113 ' TODO: 実装
114 End Function
115
116 Static Function GetCreationTime( path As String ) As DateTime
117 ' TODO: 実装
118 End Function
119
120 Static Function GetCreationTimeUtc( path As String ) As DateTime
121 ' TODO: 実装
122 End Function
123
124 Static Function GetLastAccessTime( path As String ) As DateTime
125 ' TODO: 実装
126 End Function
127
128 Static Function GetLastAccessTimeUtc( path As String ) As DateTime
129 ' TODO: 実装
130 End Function
131
132 Static Function GetLastWriteTime( path As String ) As DateTime
133 ' TODO: 実装
134 End Function
135
136 Static Function GetLastWriteTimeUtc( path As String ) As DateTime
137 ' TODO: 実装
138 End Function
139
140 Static Sub Move( sourceFileName As String, destFileName As String )
141 ' TODO: 実装
142 End Sub
143
144 Static Function Open( path As String, mode As FileMode ) As FileStream
145 ' TODO: 実装
146 End Function
147
148 Static Function Open( path As String, mode As FileMode, access As FileAccess ) As FileStream
149 ' TODO: 実装
150 End Function
151
152 Static Function Open( path As String, mode As FileMode, access As FileAccess, share As FileShare ) As FileStream
153 ' TODO: 実装
154 End Function
155
156 Static Function OpenRead( path As String ) As FileStream
157 ' TODO: 実装
158 End Function
159
160 Static Function OpenText( path As String ) As StreamReader
161 ' TODO: 実装
162 End Function
163
164 Static Function OpenWrite( path As String ) As FileStream
165 ' TODO: 実装
166 End Function
167
168 Static Function ReadAllBytes( path As String ) As *Byte
169 ' TODO: 実装
170 End Function
171
172/* Static Function ReadAllLines( path As String ) As Strings
173 ' TODO: 実装
174 End Function */
175
176/* Static Function ReadAllLines( path As String, encoding As Encoding ) As Strings
177 ' TODO: 実装
178 End Function */
179
180 Static Function ReadAllText( path As String ) As String
181 ' TODO: 実装
182 End Function
183
184/* Static Function ReadAllText( path As String, encoding As Encoding ) As String
185 ' TODO: 実装
186 End Function */
187
188 Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String )
189 ' TODO: 実装
190 End Sub
191
192 Static Sub Replace( sourceFileName As String, destinationFileName As String, destinationBackupFileName As String, ignoreMetadataErrors As Boolean )
193 ' TODO: 実装
194 End Sub
195
196/* Static Sub SetAccessControl( path As String, fileSecurity As FileSecurity )
197 ' TODO: 実装
198 End Sub */
199
200 Static Sub SetAttributes( path As String, fileAttributes As FileAttributes )
201 ' TODO: 実装
202 End Sub
203
204 Static Sub SetCreationTime( path As String, creationTime As DateTime )
205 ' TODO: 実装
206 End Sub
207
208 Static Sub SetCreationTimeUtc( path As String, creationTime As DateTime )
209 ' TODO: 実装
210 End Sub
211
212 Static Sub SetLastAccessTime( path As String, lastAccessTime As DateTime )
213 ' TODO: 実装
214 End Sub
215
216 Static Sub SetLastAccessTimeUtc( path As String, lastAccessTimeUtc As DateTime )
217 ' TODO: 実装
218 End Sub
219
220 Static Sub SetLastWriteTime( path As String, lastWriteTime As DateTime )
221 ' TODO: 実装
222 End Sub
223
224 Static Sub SetLastWriteTimeUtc( path As String, lastWriteTimeUtc As DateTime )
225 ' TODO: 実装
226 End Sub
227
228 Static Sub WriteAllBytes( path As String, bytes As *Byte )
229 ' TODO: 実装
230 End Sub
231
232/* Static Sub WriteAllLines( path As String, contents As Strings )
233 ' TODO: 実装
234 End Sub */
235
236/* Static Sub WriteAllLines( path As String, contents As Strings, encoding As Enconding )
237 ' TODO: 実装
238 End Sub */
239
240 Static Sub WriteAllText( path As String, contents As String )
241 ' TODO: 実装
242 End Sub
243
244/* Static Sub WriteAllText( path As String, contents As String, encoding As Enconding )
245 ' TODO: 実装
246 End Sub */
247
248End Class
249
250
251End Namespace
252End Namespace
Note: See TracBrowser for help on using the repository browser.