java - file processing wit a standard -


i write eft system java. read information file , file's content has standard. example;

# number of banks  2  # bankid, initialcashreserve  1  0 2  100  # eftid, amount, frombankid, tobankid  1  40  1  2 2  10  2  1 3  20  2  1 4  30  2  1 5  40  2  1 6  50  2  1 7  60  1  2 

is there easy way read these or have read line line , check.

you'll have read line line.

if you, i'd load entire contents of file sort of object structure before using data, way won't have going , forth through file stream during operation of program.

if there's library file type, library pretty 2 steps anyway.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -