如何使用Java检测笔驱动器并列出笔驱动器中的文件 [英] How to detect pen drive using java and list the files in the pen drive

查看:68
本文介绍了如何使用Java检测笔驱动器并列出笔驱动器中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生,
我正在一个项目中,我需要使用java访问笔式驱动器,然后在JTree中列出笔式驱动器中存在的文件.
请帮助

另外,我希望我的(java)应用程序在将USB笔式磁盘插入USB端口后立即自动开始执行.

请帮忙.

Sir,
I am working on a project wherein i need to access pen drive using java and thence list the files present in the pen drive in a JTree.
please help

also, i want my (java)application to automatically start execution as soon as a usb pen disk is plugged-in in the usb port.

please help.

推荐答案

MoiezGohar写道:
MoiezGohar wrote:

我正在研究一个项目,其中我需要访问笔式驱动器

I am working on a project wherein i need to access pen drive



你写了什么呢?




And you have written what exactly?


MoiezGohar写道:
MoiezGohar wrote:

请帮助



我正在尝试,但是还没有说过porbloem.




I''m trying to, but there has been no porbloem stated.


MoiezGohar写道:
MoiezGohar wrote:

我希望我的(java)应用程序自动启动

i want my (java)application to automatically start



很好.


这是一个线索,请编辑您的帖子,并提出一个问题,其中包括您已经做过的事情,我将删除此答案.

然后,也许您可​​以获得一些帮助.

仅供参考,您应该可以借助google进行操作-可以使用其他搜索引擎-并有一点想法.



That''s nice.


Here''s a clue, edit your posting with a question including what you''ve done already and I''ll delete this answer.

Then maybe you can get some help.

FYI, you should be able to get going with the aid of google - other search engines are available - and a modicum of thought.


这篇关于如何使用Java检测笔驱动器并列出笔驱动器中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆