public static InputStream getClassAsStream ( final Class clazz ) throws IOException { return getResourceAsStream ( ClassUtil . convertClassNameToFileName ( clazz ) , clazz . getClassLoader ( ) ) ; }
Opens a class of the specified name for reading using class classloader .