-
Notifications
You must be signed in to change notification settings - Fork 0
/
ISecureDirectoryStream.xml
473 lines (473 loc) · 35.5 KB
/
ISecureDirectoryStream.xml
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
<Type Name="ISecureDirectoryStream" FullName="Java.Nio.FileNio.ISecureDirectoryStream">
<TypeSignature Language="C#" Value="public interface ISecureDirectoryStream : IDisposable, Java.Interop.IJavaPeerable, Java.Nio.FileNio.IDirectoryStream" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit ISecureDirectoryStream implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.IO.ICloseable, class Java.Lang.IIterable, class Java.Nio.FileNio.IDirectoryStream, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Nio.FileNio.ISecureDirectoryStream" />
<TypeSignature Language="F#" Value="type ISecureDirectoryStream = interface
 interface IDirectoryStream
 interface ICloseable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable
 interface IIterable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.IO.ICloseable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.IIterable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Nio.FileNio.IDirectoryStream</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/nio/file/SecureDirectoryStream", "", "Java.Nio.FileNio.ISecureDirectoryStreamInvoker", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/nio/file/SecureDirectoryStream", "", "Java.Nio.FileNio.ISecureDirectoryStreamInvoker", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A <c>DirectoryStream</c> that defines operations on files that are located
relative to an open directory.</summary>
<remarks>
<para>A <c>DirectoryStream</c> that defines operations on files that are located
relative to an open directory. A <c>SecureDirectoryStream</c> is intended
for use by sophisticated or security sensitive applications requiring to
traverse file trees or otherwise operate on directories in a race-free manner.
Race conditions can arise when a sequence of file operations cannot be
carried out in isolation. Each of the file operations defined by this
interface specify a relative path. All access to the file is relative
to the open directory irrespective of if the directory is moved or replaced
by an attacker while the directory is open. A <c>SecureDirectoryStream</c>
may also be used as a virtual <em>working directory</em>.</para>
<para>A <c>SecureDirectoryStream</c> requires corresponding support from the
underlying operating system. Where an implementation supports this features
then the <c>DirectoryStream</c> returned by the <c>Files#newDirectoryStream
newDirectoryStream</c> method will be a <c>SecureDirectoryStream</c> and must
be cast to that type in order to invoke the methods defined by this interface.</para>
<para>In the case of the default <c>java.nio.file.spi.FileSystemProvider
provider</c>, and a security manager is set, then the permission checks are
performed using the path obtained by resolving the given relative path
against the <i>original path</i> of the directory (irrespective of if the
directory is moved since it was opened).</para>
<para>Added in 1.7.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
<Members>
<Member MemberName="DeleteDirectory">
<MemberSignature Language="C#" Value="public void DeleteDirectory (Java.Lang.Object? path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeleteDirectory(class Java.Lang.Object path) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.FileNio.ISecureDirectoryStream.DeleteDirectory(Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member DeleteDirectory : Java.Lang.Object -> unit" Usage="iSecureDirectoryStream.DeleteDirectory path" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("deleteDirectory", "(Ljava/lang/Object;)V", "GetDeleteDirectory_Ljava_lang_Object_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("deleteDirectory", "(Ljava/lang/Object;)V", "GetDeleteDirectory_Ljava_lang_Object_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="path">the path of the directory to delete</param>
<summary>Deletes a directory.</summary>
<remarks>
<para>Deletes a directory.</para>
<para>Unlike the <c>Files#delete delete()</c> method, this method
does not first examine the file to determine if the file is a directory.
Whether non-directories are deleted by this method is system dependent and
therefore not specified. When the parameter is a relative path then the
directory to delete is relative to this open directory.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream#deleteDirectory(T)" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream.deleteDirectory(T)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="DeleteFile">
<MemberSignature Language="C#" Value="public void DeleteFile (Java.Lang.Object? path);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void DeleteFile(class Java.Lang.Object path) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.FileNio.ISecureDirectoryStream.DeleteFile(Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member DeleteFile : Java.Lang.Object -> unit" Usage="iSecureDirectoryStream.DeleteFile path" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("deleteFile", "(Ljava/lang/Object;)V", "GetDeleteFile_Ljava_lang_Object_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("deleteFile", "(Ljava/lang/Object;)V", "GetDeleteFile_Ljava_lang_Object_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="path">the path of the file to delete</param>
<summary>Deletes a file.</summary>
<remarks>
<para>Deletes a file.</para>
<para>Unlike the <c>Files#delete delete()</c> method, this method does
not first examine the file to determine if the file is a directory.
Whether a directory is deleted by this method is system dependent and
therefore not specified. If the file is a symbolic link, then the link
itself, not the final target of the link, is deleted. When the
parameter is a relative path then the file to delete is relative to
this open directory.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream#deleteFile(T)" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream.deleteFile(T)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetFileAttributeView">
<MemberSignature Language="C#" Value="public Java.Lang.Object? GetFileAttributeView (Java.Lang.Class? type);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object GetFileAttributeView(class Java.Lang.Class type) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.FileNio.ISecureDirectoryStream.GetFileAttributeView(Java.Lang.Class)" />
<MemberSignature Language="F#" Value="abstract member GetFileAttributeView : Java.Lang.Class -> Java.Lang.Object" Usage="iSecureDirectoryStream.GetFileAttributeView type" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getFileAttributeView", "(Ljava/lang/Class;)Ljava/nio/file/attribute/FileAttributeView;", "GetGetFileAttributeView_Ljava_lang_Class_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getFileAttributeView", "(Ljava/lang/Class;)Ljava/nio/file/attribute/FileAttributeView;", "GetGetFileAttributeView_Ljava_lang_Class_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="type" Type="Java.Lang.Class" />
</Parameters>
<Docs>
<param name="<V><V>">The <c>FileAttributeView</c> type</param>
<param name="type">the <c>Class</c> object corresponding to the file attribute view</param>
<summary>Returns a new file attribute view to access the file attributes of this
directory.</summary>
<returns>a new file attribute view of the specified type bound to
this directory stream, or <c>null</c> if the attribute view
type is not available</returns>
<remarks>
<para>Returns a new file attribute view to access the file attributes of this
directory.</para>
<para>The resulting file attribute view can be used to read or update the
attributes of this (open) directory. The <c>type</c> parameter specifies
the type of the attribute view and the method returns an instance of that
type if supported. Invoking this method to obtain a <c>BasicFileAttributeView</c> always returns an instance of that class that is
bound to this open directory.</para>
<para>The state of resulting file attribute view is intimately connected
to this directory stream. Once the directory stream is <c>#close closed</c>,
then all methods to read or update attributes will throw <c>ClosedDirectoryStreamException ClosedDirectoryStreamException</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream#getFileAttributeView(java.lang.Class%3CV%3E)" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream.getFileAttributeView(java.lang.Class<V>)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="GetFileAttributeView">
<MemberSignature Language="C#" Value="public Java.Lang.Object? GetFileAttributeView (Java.Lang.Object? path, Java.Lang.Class? type, params Java.Nio.FileNio.LinkOption[]? options);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object GetFileAttributeView(class Java.Lang.Object path, class Java.Lang.Class type, class Java.Nio.FileNio.LinkOption[] options) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.FileNio.ISecureDirectoryStream.GetFileAttributeView(Java.Lang.Object,Java.Lang.Class,Java.Nio.FileNio.LinkOption[])" />
<MemberSignature Language="F#" Value="abstract member GetFileAttributeView : Java.Lang.Object * Java.Lang.Class * Java.Nio.FileNio.LinkOption[] -> Java.Lang.Object" Usage="iSecureDirectoryStream.GetFileAttributeView (path, type, options)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("getFileAttributeView", "(Ljava/lang/Object;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;", "GetGetFileAttributeView_Ljava_lang_Object_Ljava_lang_Class_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("getFileAttributeView", "(Ljava/lang/Object;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;", "GetGetFileAttributeView_Ljava_lang_Object_Ljava_lang_Class_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })]</AttributeName>
<AttributeName Language="F#">[<Java.Interop.JavaTypeParameters(new System.String[] { "V extends java.nio.file.attribute.FileAttributeView" })>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Java.Lang.Object" />
<Parameter Name="type" Type="Java.Lang.Class" />
<Parameter Name="options" Type="Java.Nio.FileNio.LinkOption[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="path">To be added.</param>
<param name="type">the <c>Class</c> object corresponding to the file attribute view</param>
<param name="options">To be added.</param>
<summary>Returns a new file attribute view to access the file attributes of this
directory.</summary>
<returns>a new file attribute view of the specified type bound to
this directory stream, or <c>null</c> if the attribute view
type is not available</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream#getFileAttributeView(java.lang.Class)" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream.getFileAttributeView(java.lang.Class)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Move">
<MemberSignature Language="C#" Value="public void Move (Java.Lang.Object? srcpath, Java.Nio.FileNio.ISecureDirectoryStream? targetdir, Java.Lang.Object? targetpath);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Move(class Java.Lang.Object srcpath, class Java.Nio.FileNio.ISecureDirectoryStream targetdir, class Java.Lang.Object targetpath) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.FileNio.ISecureDirectoryStream.Move(Java.Lang.Object,Java.Nio.FileNio.ISecureDirectoryStream,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member Move : Java.Lang.Object * Java.Nio.FileNio.ISecureDirectoryStream * Java.Lang.Object -> unit" Usage="iSecureDirectoryStream.Move (srcpath, targetdir, targetpath)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("move", "(Ljava/lang/Object;Ljava/nio/file/SecureDirectoryStream;Ljava/lang/Object;)V", "GetMove_Ljava_lang_Object_Ljava_nio_file_SecureDirectoryStream_Ljava_lang_Object_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("move", "(Ljava/lang/Object;Ljava/nio/file/SecureDirectoryStream;Ljava/lang/Object;)V", "GetMove_Ljava_lang_Object_Ljava_nio_file_SecureDirectoryStream_Ljava_lang_Object_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="srcpath" Type="Java.Lang.Object" />
<Parameter Name="targetdir" Type="Java.Nio.FileNio.ISecureDirectoryStream" />
<Parameter Name="targetpath" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="srcpath">the name of the file to move</param>
<param name="targetdir">the destination directory</param>
<param name="targetpath">the name to give the file in the destination directory</param>
<summary>Move a file from this directory to another directory.</summary>
<remarks>
<para>Move a file from this directory to another directory.</para>
<para>This method works in a similar manner to <c>Files#move move</c>
method when the <c>StandardCopyOption#ATOMIC_MOVE ATOMIC_MOVE</c> option
is specified. That is, this method moves a file as an atomic file system
operation. If the <c>srcpath</c> parameter is an <c>Path#isAbsolute
absolute</c> path then it locates the source file. If the parameter is a
relative path then it is located relative to this open directory. If
the <c>targetpath</c> parameter is absolute then it locates the target
file (the <c>targetdir</c> parameter is ignored). If the parameter is
a relative path it is located relative to the open directory identified
by the <c>targetdir</c> parameter. In all cases, if the target file
exists then it is implementation specific if it is replaced or this
method fails.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream#move(T,%20java.nio.file.SecureDirectoryStream%3CT%3E,%20T)" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream.move(T, java.nio.file.SecureDirectoryStream<T>, T)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="NewByteChannel">
<MemberSignature Language="C#" Value="public Java.Nio.Channels.ISeekableByteChannel? NewByteChannel (Java.Lang.Object? path, System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption>? options, params Java.Nio.FileNio.Attributes.IFileAttribute[]? attrs);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.Channels.ISeekableByteChannel NewByteChannel(class Java.Lang.Object path, class System.Collections.Generic.ICollection`1<class Java.Nio.FileNio.IOpenOption> options, class Java.Nio.FileNio.Attributes.IFileAttribute[] attrs) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.FileNio.ISecureDirectoryStream.NewByteChannel(Java.Lang.Object,System.Collections.Generic.ICollection{Java.Nio.FileNio.IOpenOption},Java.Nio.FileNio.Attributes.IFileAttribute[])" />
<MemberSignature Language="F#" Value="abstract member NewByteChannel : Java.Lang.Object * System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption> * Java.Nio.FileNio.Attributes.IFileAttribute[] -> Java.Nio.Channels.ISeekableByteChannel" Usage="iSecureDirectoryStream.NewByteChannel (path, options, attrs)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("newByteChannel", "(Ljava/lang/Object;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "GetNewByteChannel_Ljava_lang_Object_Ljava_util_Set_arrayLjava_nio_file_attribute_FileAttribute_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("newByteChannel", "(Ljava/lang/Object;Ljava/util/Set;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/SeekableByteChannel;", "GetNewByteChannel_Ljava_lang_Object_Ljava_util_Set_arrayLjava_nio_file_attribute_FileAttribute_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.Channels.ISeekableByteChannel</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Java.Lang.Object" />
<Parameter Name="options" Type="System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption>" />
<Parameter Name="attrs" Type="Java.Nio.FileNio.Attributes.IFileAttribute[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="path">the path of the file to open open or create</param>
<param name="options">options specifying how the file is opened</param>
<param name="attrs">an optional list of attributes to set atomically when creating
the file</param>
<summary>Opens or creates a file in this directory, returning a seekable byte
channel to access the file.</summary>
<returns>the seekable byte channel</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream#newByteChannel(java.lang.Object,%20java.util.Set,%20java.nio.file.attribute.FileAttribute)" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream.newByteChannel(java.lang.Object, java.util.Set, java.nio.file.attribute.FileAttribute)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="NewDirectoryStream">
<MemberSignature Language="C#" Value="public Java.Nio.FileNio.ISecureDirectoryStream? NewDirectoryStream (Java.Lang.Object? path, params Java.Nio.FileNio.LinkOption[]? options);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Nio.FileNio.ISecureDirectoryStream NewDirectoryStream(class Java.Lang.Object path, class Java.Nio.FileNio.LinkOption[] options) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Nio.FileNio.ISecureDirectoryStream.NewDirectoryStream(Java.Lang.Object,Java.Nio.FileNio.LinkOption[])" />
<MemberSignature Language="F#" Value="abstract member NewDirectoryStream : Java.Lang.Object * Java.Nio.FileNio.LinkOption[] -> Java.Nio.FileNio.ISecureDirectoryStream" Usage="iSecureDirectoryStream.NewDirectoryStream (path, options)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("newDirectoryStream", "(Ljava/lang/Object;[Ljava/nio/file/LinkOption;)Ljava/nio/file/SecureDirectoryStream;", "GetNewDirectoryStream_Ljava_lang_Object_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("newDirectoryStream", "(Ljava/lang/Object;[Ljava/nio/file/LinkOption;)Ljava/nio/file/SecureDirectoryStream;", "GetNewDirectoryStream_Ljava_lang_Object_arrayLjava_nio_file_LinkOption_Handler:Java.Nio.FileNio.ISecureDirectoryStreamInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.SupportedOSPlatform("android26.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.SupportedOSPlatform("android26.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Nio.FileNio.ISecureDirectoryStream</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="path" Type="Java.Lang.Object" />
<Parameter Name="options" Type="Java.Nio.FileNio.LinkOption[]">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ParamArray]</AttributeName>
<AttributeName Language="F#">[<System.ParamArray>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="path">the path to the directory to open</param>
<param name="options">options indicating how symbolic links are handled</param>
<summary>Opens the directory identified by the given path, returning a <c>SecureDirectoryStream</c> to iterate over the entries in the directory.</summary>
<returns>a new and open <c>SecureDirectoryStream</c> object</returns>
<remarks>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/SecureDirectoryStream#newDirectoryStream(java.lang.Object,%20java.nio.file.LinkOption)" title="Reference documentation">Java documentation for <code>java.nio.file.SecureDirectoryStream.newDirectoryStream(java.lang.Object, java.nio.file.LinkOption)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>