public void readBuffer ( List < String > algPath , List < String > algNames , List < Measure > measures ) { BufferedReader buffer = null ; for ( int i = 0 ; i < algPath . size ( ) ; i ++ ) { try { buffer = new BufferedReader ( new FileReader ( algPath . get ( i ) ) ) ; } catch ( FileNotFoundException ex ) { Logger . getLogger ( Stream . class . getName ( ) ) . log ( Level . SEVERE , null , ex ) ; } Algorithm algorithm = new Algorithm ( algNames . get ( i ) , measures , buffer , algPath . get ( i ) ) ; this . algorithm . add ( algorithm ) ; } }
Read each algorithm file .