public static String toString (Set<PosixFilePermission> perms)

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.

Parameters:
perms     the set of permissions

Returns:  the string representation of the permission set