创建一个空的CD-ROM映像,并使用Java将文件插入/从中提取文件 [英] Create an empty CD-ROM image and inject/extract files into/from it using Java

查看:78
本文介绍了创建一个空的CD-ROM映像,并使用Java将文件插入/从中提取文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Java,我需要能够创建一个空CD映像,并且还需要向该映像中插入文件或从中提取文件.您知道为此的任何Java库吗?有没有办法在不使用JNI的情况下完成它? (如果不是,那么您的JNI解决方案将受到赞赏).谢谢你们.

Using Java I need to be able to create an empty CD image and also to inject/extract files into/from this image. Do you know any java libs for that? Is there a way to accomplish it without using JNI? (if not, then your JNI solution is appreciated). Thank you guys.

PS. Qemu仿真器创建的仿真环境之间的数据传输需要执行此任务.

PS. This task is required for data transportation between emulated environment created by Qemu emulator.

推荐答案

原则上,这很容易实现,只需编写一个结构正确的CD映像文件即可.实际上,这可能是很多工作.

In principle this is simple to implement, just write a file that is properly structured as CD-image. In practice thats probably a lot of work.

仅搜索"java create iso image",就会发现已经有一个实现可以做到这一点: http://jiic .berlios.de/

Simply googling for "java create iso image" reveal there is already an implementation to do just that: http://jiic.berlios.de/

这篇关于创建一个空的CD-ROM映像,并使用Java将文件插入/从中提取文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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