aspose file tools*
The moose likes Java Micro Edition and the fly likes how to read from an specefic  offset of file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "how to read from an specefic  offset of file ?" Watch "how to read from an specefic  offset of file ?" New topic
Author

how to read from an specefic offset of file ?

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post
how i can read from an specefic offset of a file ?



thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42908
    
  69
Check out the java.io.RandomAccessFile class. It allows access to arbitrary offsets in a file.
raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
thank you for reaply.
does j2me has this class ?
i can not find it in java.io in my j2me development environment.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42908
    
  69
Oops, I hadn't noticed that this was in J2ME; my bad. Is FileInputStream available? That has the skip() method, which skips over a specified number of bytes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read from an specefic offset of file ?