Hello Friends

i'm working on java.(JBUilder 3 and JDK1.2)


i need your suggestion for the follwing task..

OBJECTIVE : Getting data(records) from .txt files (tab seperated) and .csv files. and display records in JTable. File size may be 1mb to 5GB.

WHAT I DID for file reading :

BufferedReader in= new BufferedReader( new InputStreamReader ( new FileInputStream(filePath)));

while((s1=in.readLine()) != null) {
// prepare table model
}//end of while

NOTE: THIS IS TAKING LONG TIME (FOR READING 364KB FILE IT'S TAKING 10SECONDS) 64MB RAM && PII

SUGGESTION FROM U:

IS THERE ANY EFFICIENT METHOD TO READ FROM FILE??????????????(As Fast as Possible)
if, please suggest..

Thanx

sat