I am new to java.I have a text file in the server(containing the account information of account holders).It is a long file without any delimiters between to separate different types of data namely account no:,name etc. .I have to download that file to the client and convert it into the format given below.
"
char AccNo[12];
char Name[18];
unsigned long AvailableBalance;
unsigned char AccType[5];
date LastCollectedDate;
unsigned char Reserve[21]; /*for size 64 */
"
How can I do that.Please help me by sending a sample code.


I think I can create a class having data variables
"
char AccNo[12];
char Name[18];
unsigned long AvailableBalance;
unsigned char AccType[5];
date LastCollectedDate;
unsigned char Reserve[21]; /*for size 64 */
"
I do not no how to proceed.Please help me.