question: public static void readSkel ( BufferedReader reader ) throws IOException { List < String > lines = new ArrayList < String > ( ) ; StringBuilder section = new StringBuilder ( ) ; String ln ; while ( ( ln = reader . readLine ( ) ) != null ) { if ( ln . startsWith ( "---" ) ) { lines . add ( section . toString ( ) ) ; section . setLength ( 0 ) ; } else { section . append ( ln ) ; section . append ( NL ) ; } } if ( section . length ( ) > 0 ) lines . add ( section . toString ( ) ) ; if ( lines . size ( ) != size ) { Out . error ( ErrorMessages . WRONG_SKELETON ) ; throw new GeneratorException ( ) ; } line = new String [ size ] ; for ( int i = 0 ; i < size ; i ++ ) line [ i ] = lines . get ( i ) ; }
target:  Reads an external skeleton file from a BufferedReader.