question: public void loadData ( boolean readNumbersAsStrings ) { BufferedReader streamReader = null ; Vector < Vector < Object > > records = new Vector < Vector < Object > > ( ) ; try { Object token = null ; boolean header_read = false ; if ( ! headersExist ) { header_read = true ; headerRecord = new Vector < Object > ( ) ; } URL csvURL = infoUrl ; streamReader = new BufferedReader ( new InputStreamReader ( csvURL . openStream ( ) ) ) ; CSVTokenizer csvt = new CSVTokenizer ( streamReader , readNumbersAsStrings ) ; int count = 0 ; token = csvt . token ( ) ; while ( ! csvt . isEOF ( token ) ) { count ++ ; Vector < Object > rec_line = new Vector < Object > ( ) ; while ( ! csvt . isNewline ( token ) ) { rec_line . addElement ( token ) ; token = csvt . token ( ) ; if ( csvt . isEOF ( token ) ) break ; } if ( header_read ) { records . addElement ( rec_line ) ; } else if ( headersExist ) { headerRecord = rec_line ; header_read = true ; } if ( Debug . debugging ( "csv" ) ) { Debug . output ( "CSVFile.read: " + rec_line ) ; } token = csvt . token ( ) ; } csvt . close ( ) ; } catch ( java . io . IOException ioe ) { throw new com . bbn . openmap . util . HandleError ( ioe ) ; } catch ( ArrayIndexOutOfBoundsException aioobe ) { throw new com . bbn . openmap . util . HandleError ( aioobe ) ; } catch ( ClassCastException cce ) { throw new com . bbn . openmap . util . HandleError ( cce ) ; } catch ( NullPointerException npe ) { Debug . error ( "CSVFile can't open: " + infoUrl + ", check URL notation." ) ; } infoRecords = records ; if ( Debug . debugging ( "csv" ) ) { Debug . output ( "CSVFile: read in " + infoRecords . size ( ) + " records" ) ; } }
target:  Read the data in from the file, with the option of reading the numbers in the files as strings.