IPath.Normalize Method

Definition

Returns a path that is this path with redundant name elements eliminated.

[Android.Runtime.Register("normalize", "()Ljava/nio/file/Path;", "GetNormalizeHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public Java.Nio.FileNio.IPath? Normalize ();
[<Android.Runtime.Register("normalize", "()Ljava/nio/file/Path;", "GetNormalizeHandler:Java.Nio.FileNio.IPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Normalize : unit -> Java.Nio.FileNio.IPath

Returns

IPath

the resulting path or this path if it does not contain redundant name elements; an empty path is returned if this path does have a root component and all name elements are redundant

Attributes

Remarks

Java documentation for java.nio.file.Path.normalize().

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