public static double ReadAvgDL(String index) throws FileNotFoundException, IOException { double avgDL = 0; BufferedReader extra = FileReader.openFileReader(new File(index + "ExtraInformation")); avgDL = Double.parseDouble(extra.readLine()); extra.close(); return avgDL; }
public static double ReadCL(String index) throws IOException { double avgDL = 0; double CLength = 0; BufferedReader extra = FileReader.openFileReader(new File(index + "ExtraInformation")); avgDL = Double.parseDouble(extra.readLine()); CLength = Double.parseDouble(extra.readLine()); return CLength; }