How can I read from a Windows shared drive in a platform independent way using Java?

混江龙づ霸主 提交于 2019-12-12 20:17:24

问题


How can I read from a Windows shared drive using Java in such a way that the Java code which performs the reading could run equally correctly on any platform?


回答1:


You can use JCIFS to access SMB/CIFS shares using pure Java code.




回答2:


apache commons vfs is always a good choice.



来源:https://stackoverflow.com/questions/3100625/how-can-i-read-from-a-windows-shared-drive-in-a-platform-independent-way-using-j

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!