ArrayList storeList = new ArrayList<USCrimeClass>; FileInputStream fstream = new FileInputStream(inFile); try ( // Get the object of DataInputStream DataInputStream in = new DataInputStream(fstream)) { BufferedReader br = new BufferedReader(new InputStreamReader(in)); String strLine; // Read File Line By Line strLine = br.readLine();// skip first line while ((strLine = br.readLine()) != null) { // lines storeList.add(storeToCrimeObjin(strLine)); } // Close the input stream
Отсутствуют () в new ArrayList<USCrimeClass>; должно быть:
new ArrayList<USCrimeClass>;
ArrayList storeList = new ArrayList<USCrimeClass>();