question: public static List < String > dumpResource ( Class < ? > forClass , String path ) throws IOException { InputStream is = ( forClass == null ) ? ClassLoader . getSystemResourceAsStream ( path ) : forClass . getResourceAsStream ( path ) ; if ( is == null ) { throw new FileNotFoundException ( "For class " + forClass + ": " + path ) ; } return readStream ( is ) ; }
target:  Dumps the content of a resource into a List<String>, where each element is one line of the resource.