如何在java桌面学生信息系统中实现回收站功能 [英] How to implement recycle bin functionality in java desktop student information system

查看:395
本文介绍了如何在java桌面学生信息系统中实现回收站功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

老实说,我没有尝试过任何东西,但我希望我的项目能够拥有这项功能



我尝试过的方法:



说实话,我没有尝试过任何东西,但我希望我的项目具备该功能

honestly i have not tried anything but i want my project to have that functionality

What I have tried:

honestly i have not tried anything but i want my project to have that functionality


>

推荐答案

我所知道的没有本机Java功能。您可以创建一个特殊文件夹并在那里移动已删除的文件,以便可以恢复它们。或者,您可以使用JNI访问本机设施,如如何以编程方式所述使用回收站 [ ^ ]。
There is no native Java feature that I am aware of. You could just create a special folder and move deleted files there, so that they can be recovered. Alternatively you could use JNI to access the native facility as described in How to programmatically use the Recycle Bin[^].


这篇关于如何在java桌面学生信息系统中实现回收站功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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