문제

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.

다른 팁

You need to ask the operating system with a platform specific API - under Linux there is most likely a /dev file for this,

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top