private static ArrayList<String> readIndirectValues(final InputStream in) throws IOException {
  final ArrayList<String> fonts;
  final BufferedReader inpStream=new BufferedReader(new InputStreamReader(in));
  fonts=new ArrayList<String>(0);
  while (true) {
    final String nextValue=inpStream.readLine();
    if (nextValue == null) {
      break;
    }
    fonts.add(nextValue);
  }
  inpStream.close();
  return fonts;
}

private static ArrayList < String > readIndirectValues ( final InputStream in ) throws IOException { final ArrayList < String > fonts ; final BufferedReader inpStream = new BufferedReader ( new InputStreamReader ( in ) ) ; fonts = new ArrayList < String > ( 0 ) ; while ( true ) { final String nextValue = inpStream . readLine ( ) ; if ( nextValue == null ) { break ; } fonts . add ( nextValue ) ; } inpStream . close ( ) ; return fonts ; }
read values from the classpath
