package readandsort;
/**
*
* @author Logan
*/
import java.io.*;
public class ReadAndSort {
public static void main(String[] args) {
}
public static int processFile (String scores) throws IOException, FileNotFoundException {
FileInputStream fstream = new FileInputStream("c:/scores.txt");
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
String strLine;
double doubleValue;
while ((strLine = br.readLine()) !=null) {
doubleValue = Integer.parseInt(strLine);
return doubleValue;
}
br.close();
}
}
}
}