question: private void loadText ( InputStream is ) { BufferedReader reader ; String line ; if ( is == null ) { throw new Error ( "Can't load diphone db file." ) ; } reader = new BufferedReader ( new InputStreamReader ( is ) ) ; try { line = reader . readLine ( ) ; lineCount ++ ; while ( line != null ) { if ( ! line . startsWith ( "***" ) ) { parseAndAdd ( line , reader ) ; } line = reader . readLine ( ) ; } reader . close ( ) ; } catch ( IOException e ) { throw new Error ( e . getMessage ( ) + " at line " + lineCount ) ; } finally { } }
target:  Loads the database from the given input stream.