Click here to Skip to main content
15,877,637 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I did a small project in MFC(VC++). There by using handle, createfile and readfile functions i am reading the data sector by sector. Is there any functions in in java to read the data sector wise ?
Posted

See http://docs.oracle.com/javase/tutorial/essential/io/fileio.html[^] for information on the Java File I/O system. Assuming you can open the file or device then it should be broadly the same as in C++.
 
Share this answer
 
You can't do this. The reason is Java can't call Windows API directly.

You can use Java Native Interface (JNI) for calling Windows APIs.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900