Udostępnij za pośrednictwem


FileSystemProvider.ReadSymbolicLink(IPath) Method

Definition

Reads the target of a symbolic link.

[Android.Runtime.Register("readSymbolicLink", "(Ljava/nio/file/Path;)Ljava/nio/file/Path;", "GetReadSymbolicLink_Ljava_nio_file_Path_Handler", ApiSince=26)]
public virtual Java.Nio.FileNio.IPath? ReadSymbolicLink (Java.Nio.FileNio.IPath? link);
[<Android.Runtime.Register("readSymbolicLink", "(Ljava/nio/file/Path;)Ljava/nio/file/Path;", "GetReadSymbolicLink_Ljava_nio_file_Path_Handler", ApiSince=26)>]
abstract member ReadSymbolicLink : Java.Nio.FileNio.IPath -> Java.Nio.FileNio.IPath
override this.ReadSymbolicLink : Java.Nio.FileNio.IPath -> Java.Nio.FileNio.IPath

Parameters

link
IPath

the path to the symbolic link

Returns

The target of the symbolic link

Attributes

Remarks

Reads the target of a symbolic link. This method works in exactly the manner specified by the Files#readSymbolicLink method.

The default implementation of this method throws UnsupportedOperationException.

Java documentation for java.nio.file.spi.FileSystemProvider.readSymbolicLink(java.nio.file.Path).

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