Create an empty CD-ROM image and inject/extract files into/from it using Java

£可爱£侵袭症+ 提交于 2019-12-12 04:19:07

问题


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. This task is required for data transportation between emulated environment created by Qemu emulator.


回答1:


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.

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



来源:https://stackoverflow.com/questions/9621227/create-an-empty-cd-rom-image-and-inject-extract-files-into-from-it-using-java

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