public static List<InputProperties> parse(File file){
  LineNumberReader reader=IOTools.getReaderFromFile(file);
  List<InputProperties> propertiesList=new ArrayList<>();
  try {
    for (String line; (line=reader.readLine()) != null; ) {
      InputProperties inputProperties=fromString(line);
      propertiesList.add(inputProperties);
    }
    reader.close();
  }
 catch (  IOException e) {
    throw new RuntimeException(e);
  }
  return propertiesList;
}

public static List < InputProperties > parse ( File file ) { LineNumberReader reader = IOTools . getReaderFromFile ( file ) ; List < InputProperties > propertiesList = new ArrayList < > ( ) ; try { for ( String line ; ( line = reader . readLine ( ) ) != null ; ) { InputProperties inputProperties = fromString ( line ) ; propertiesList . add ( inputProperties ) ; } reader . close ( ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } return propertiesList ; }
parse an input file into an inputproperties file .
