aspose file tools*
The moose likes Java in General and the fly likes Looking for the command that can...? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Looking for the command that can...?" Watch "Looking for the command that can...?" New topic

Looking for the command that can...?

Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
Hi dear friends,
I am looking for the java command that can operate on chunk of byte (block) with fix sizes This means that I want operate on hard disk directly.
Thank you so much for your hint and help,
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Using JAVA - a language that is operating system independant? Don't think so.
Unless I am completely misunderstanding what you are asking.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Elahe Shafie
Ranch Hand

Joined: Dec 12, 2001
Posts: 291
If I like to clear my question I have to say I like to design and implement a basic file system that uses linked list disk block allocation algorithm in order to get idea and concepts and techniques of:
Linked list disk block allocation
Free space management
Directory implementation
Disk block cache
So first I want to know can I use Java and then could you give me some hint that from where I have to start still I don't know how to approch it...
Many thnaks,
Dan Cranmer

Joined: May 24, 2000
Posts: 24
You might want to take a look at the Java source for the File class and the FileSystem class. If you just want to simulate a file system you might be able to get away with using the RandomAccessFile class. Otherwise you will get into some platform specific JNI code.
I agree. Here's the link:
subject: Looking for the command that can...?
Similar Threads
soap, https
executable programs!?
Read Byte Code
Task Manager
don't know how to handle different params in a command.