public static InputStream getClassAsStream ( Class < ? > clazz ) throws IOException { return getResourceAsStream ( getClassFileName ( clazz ) , clazz . getClassLoader ( ) ) ; }
Returns an input stream for reading the specified class .