开发者

How to list all open files and dir using java?

开发者 https://www.devze.com 2023-02-08 02:30 出处:网络
How to get the all open files,doc,开发者_JAVA技巧and dir details in java applet or console?You can\'t do that. There are security restrictions on Applet API that will prevent you from accessing low le

How to get the all open files,doc,开发者_JAVA技巧and dir details in java applet or console?


You can't do that. There are security restrictions on Applet API that will prevent you from accessing low level I/O functions that operates on files.

Even though you might end up accessing individual files (if manipulate your apple security policy on the running machine), access to all open directory and files require higher privileges that you don't have in JVM.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号