How can I access the raw bytes of a CD using Java?
Not sure if this is possible, but can I access the raw bytes of a compact disc using Java? If so could you provide a sample of code please? I am using Windows and don't mind platform specific code.
I'm pretty sure you can't do it in Java. You will have to write native C code using Windows API (start with CreateFile as described here) and then call it using JNI from Java.
你需要用平台特定的API来询问操作系统 - 在Linux下,最有可能的是一个/ dev文件,
链接地址: http://www.djcxy.com/p/55952.html上一篇: 制作蓝光
下一篇: 如何使用Java访问CD的原始字节?