开发者

How to list all open files and dir using java?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜