posted 8 years ago
Hello,
Hello,
I have to read 2 fields which are located at the end of a text file.
Is there any way to do that without reading the complete file?
Is it possible to start reading a file from the end and finish on top?
Many thanks.
<field>
<field>
<.....>
<.....>
<field to read>
<filed to read>
Hello,
I have to read 2 fields which are located at the end of a text file.
Is there any way to do that without reading the complete file?
Is it possible to start reading a file from the end and finish on top?
Many thanks.
<field>
<field>
<.....>
<.....>
<field to read>
<filed to read>
posted 8 years ago
I think that RandomAccessFile would be usefull if I knew the size or structure of the fileds,
but I dont know anything about the fields except their names.
My Idea was to begin reading at botton of the file and climb over the file because I these fields are always at the botton.
How do you would use RandonAccess field class in that case?
Thanks
but I dont know anything about the fields except their names.
My Idea was to begin reading at botton of the file and climb over the file because I these fields are always at the botton.
How do you would use RandonAccess field class in that case?
Thanks