How to check write permissions of a directory in java?

后端 未结 8 1805
粉色の甜心
粉色の甜心 2020-12-29 01:13

I would like a code snippet that checks whether a directory has read/write permissions and do something if it does, and does something else if it doesnt. I tried an example

8条回答
提交回复
热议问题