AsynchronousFileChannel.Open メソッド

定義

オーバーロード

Open(IPath, ICollection<IOpenOption>, IExecutorService, IFileAttribute[])

ファイルにアクセスするための非同期ファイル チャネルを返す、読み取りまたは書き込み用のファイルを開くか作成します。

Open(IPath, IOpenOption[])

ファイルにアクセスするための非同期ファイル チャネルを返す、読み取りまたは書き込み用のファイルを開くか作成します。

Open(IPath, ICollection<IOpenOption>, IExecutorService, IFileAttribute[])

ファイルにアクセスするための非同期ファイル チャネルを返す、読み取りまたは書き込み用のファイルを開くか作成します。

[Android.Runtime.Register("open", "(Ljava/nio/file/Path;Ljava/util/Set;Ljava/util/concurrent/ExecutorService;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/AsynchronousFileChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.AsynchronousFileChannel? Open (Java.Nio.FileNio.IPath? file, System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption>? options, Java.Util.Concurrent.IExecutorService? executor, params Java.Nio.FileNio.Attributes.IFileAttribute[]? attrs);
[<Android.Runtime.Register("open", "(Ljava/nio/file/Path;Ljava/util/Set;Ljava/util/concurrent/ExecutorService;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/channels/AsynchronousFileChannel;", "", ApiSince=26)>]
static member Open : Java.Nio.FileNio.IPath * System.Collections.Generic.ICollection<Java.Nio.FileNio.IOpenOption> * Java.Util.Concurrent.IExecutorService * Java.Nio.FileNio.Attributes.IFileAttribute[] -> Java.Nio.Channels.AsynchronousFileChannel

パラメーター

file
IPath

開くか作成するファイルのパス

options
ICollection<IOpenOption>

ファイルの開き方を指定するオプション

executor
IExecutorService
attrs
IFileAttribute[]

戻り値

新しい非同期ファイル チャネル

属性

注釈

java.nio.channels.AsynchronousFileChannel.open(java.nio.file.Path, java.nio.file.OpenOption)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

Open(IPath, IOpenOption[])

ファイルにアクセスするための非同期ファイル チャネルを返す、読み取りまたは書き込み用のファイルを開くか作成します。

[Android.Runtime.Register("open", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/AsynchronousFileChannel;", "", ApiSince=26)]
public static Java.Nio.Channels.AsynchronousFileChannel? Open (Java.Nio.FileNio.IPath? file, params Java.Nio.FileNio.IOpenOption[]? options);
[<Android.Runtime.Register("open", "(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/nio/channels/AsynchronousFileChannel;", "", ApiSince=26)>]
static member Open : Java.Nio.FileNio.IPath * Java.Nio.FileNio.IOpenOption[] -> Java.Nio.Channels.AsynchronousFileChannel

パラメーター

file
IPath

開くか作成するファイルのパス

options
IOpenOption[]

ファイルの開き方を指定するオプション

戻り値

新しい非同期ファイル チャネル

属性

注釈

java.nio.channels.AsynchronousFileChannel.open(java.nio.file.Path, java.nio.file.OpenOption)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象