Condividi tramite


PosixFilePermissions.ToString(ICollection<PosixFilePermission>) Method

Definition

Returns the String representation of a set of permissions.

[Android.Runtime.Register("toString", "(Ljava/util/Set;)Ljava/lang/String;", "", ApiSince=26)]
public static string? ToString (System.Collections.Generic.ICollection<Java.Nio.FileNio.Attributes.PosixFilePermission>? perms);
[<Android.Runtime.Register("toString", "(Ljava/util/Set;)Ljava/lang/String;", "", ApiSince=26)>]
static member ToString : System.Collections.Generic.ICollection<Java.Nio.FileNio.Attributes.PosixFilePermission> -> string

Parameters

perms
ICollection<PosixFilePermission>

the set of permissions

Returns

the string representation of the permission set

Attributes

Remarks

Returns the String representation of a set of permissions. It is guaranteed that the returned String can be parsed by the #fromString method.

If the set contains null or elements that are not of type PosixFilePermission then these elements are ignored.

Java documentation for java.nio.file.attribute.PosixFilePermissions.toString(java.util.Set<java.nio.file.attribute.PosixFilePermission>).

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