Files.IsRegularFile(IPath, LinkOption[]) Method

Definition

Tests whether a file is a regular file with opaque content.

[Android.Runtime.Register("isRegularFile", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z", "", ApiSince=26)]
public static bool IsRegularFile (Java.Nio.FileNio.IPath? path, params Java.Nio.FileNio.LinkOption[]? options);
[<Android.Runtime.Register("isRegularFile", "(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z", "", ApiSince=26)>]
static member IsRegularFile : Java.Nio.FileNio.IPath * Java.Nio.FileNio.LinkOption[] -> bool

Parameters

path
IPath

the path to the file

options
LinkOption[]

options indicating how symbolic links are handled

Returns

true if the file is a regular file; false if the file does not exist, is not a regular file, or it cannot be determined if the file is a regular file or not.

Attributes

Remarks

Java documentation for java.nio.file.Files.isRegularFile(java.nio.file.Path, java.nio.file.LinkOption).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to