File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes When to use seek? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "When to use seek?" Watch "When to use seek?" New topic
Author

When to use seek?

abalfazl hossein
Ranch Hand

Joined: Sep 06, 2007
Posts: 635
When to use seek in JAVA? for which filed?
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

Its used in Random Access Files , that is when you want to look up a particular location / character in a file


Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

It's usually only useful for binary files where you know exactly at which position a byte (or a group of bytes) will be located.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When to use seek?