NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Low level I/O file system

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
Zelig



Joined: 04 Apr 2009
Posts: 64
Location: FRANCE

PostPosted: Sat May 29, 2010 6:35 am    Post subject: Low level I/O file system Reply with quote

Hello everybody,

I am lookink for Java functions dedicated to low level read/write of a file system. For instance, functions that directly read/write sectors on a drive.

Does this type of functions exist in Java?

If yes, where can they be found?

Thanks in advance.
Back to top
jhalupka



Joined: 05 Feb 2010
Posts: 52

PostPosted: Tue Jun 01, 2010 1:26 pm    Post subject: Low level I/O file system Reply with quote

The short answer is no.

The long answer is yes, but it ain't easy.

The following link refers to using JNI (Java Native Interface) to gain
access to sector-level data. Some of the comments explain why it's not easy
to do.

http://stackoverflow.com/questions/2108313/how-to-access-specific-raw-data-on-disk-from-java
http://stackoverflow.com/questions/2108313/how-to-access-specific-raw-data-on-disk-from-java


Zelig-3 wrote:
Quote:

I am lookink for Java functions dedicated to low level read/write of a
file system. For instance, functions that directly read/write sectors on a
drive.

Does this type of functions exist in Java?

If yes, where can they be found?


--
View this message in context: http://old.nabble.com/Low-level-I-O-file-system-tp28714229p28741617.html
Sent from the Netbeans IDE Users mailing list archive at Nabble.com.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo