Loading data from file to Vector structure
- by owca
I'm trying to parse through fixed-width formatted file extracting x,y values of points from it, and then storing them in int[] array inside a Vector.
Text file looks as follows :
0006 0015
0125 0047
0250 0131
That's the code :
Vector<int[]> vc = new Vector<int[]>();
try {
BufferedReader file = new…