aspose file tools*
The moose likes I/O and Streams and the fly likes Reg:File Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Reg:File Size" Watch "Reg:File Size" New topic
Author

Reg:File Size

adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
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

Joined: Oct 27, 2005
Posts: 19693
    
  20

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?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
adeeb alexander
Ranch Hand

Joined: May 29, 2008
Posts: 268
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

Joined: Oct 27, 2005
Posts: 19693
    
  20

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reg:File Size