• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg:File Size

 
adeeb alexander
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
What cam be the maximum size of a file. Can i insert data in the for of a table just like its done in a database of yes please assist me.
 
Rob Spoor
Sheriff
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
adeeb alexander wrote:Hi.
What cam be the maximum size of a file.

That depends on the file system. See http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits
Your regular Windows installation probably has NTFS, possibly FAT32.

Can i insert data in the for of a table just like its done in a database of yes please assist me.

Can you clarify?
 
adeeb alexander
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually the doubt is very confusing. Suppose i have 10 rows in a file just like this.

Now is it possible to select the data from the position of third column and fifth row. This rows are prsent in a text file.

Thanks & Regards
alexander
 
Rob Spoor
Sheriff
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If each row has the same size you can use RandomAccessFile. If not you'll have to read the file into memory, then write the modified contents back.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic