File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 41188
    
  45
Check out the java.io.RandomAccessFile class. It allows access to arbitrary offsets in a file.


Ping & DNS - my free Android networking tools app
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: 41188
    
  45
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 ?
 
Similar Threads
how to read from a .xls(ms excel) file
Byte offset for html
How can I write a new record at the end of random access file of database?
StringBuffer
how to read from a .xls(ms excel) file