canWrite


Description:

public static bool canWrite (Path path)

Returns whether the file can write in the specified path.

Parameters:

path

Path to file or directory.

Returns:

true: can write, false: can not write.