How to read a .gz file.

How to read a .gz file.I want to read that file randomly...My requirement is to read the file pick up some line randomly...it's a large file say around 600 mb..
[211 byte] By [puneet.kumara] at [2007-11-27 4:16:01]
# 1
Please don't cross post. It is considered very rude. Anyone wishing to reply here, please reply to the following thread, instead: http://forum.java.sun.com/thread.jspa?threadID=5172156&tstart=0
masijade.a at 2007-7-12 9:22:28 > top of Java-index,Java Essentials,New To Java...