public static Resource find(String name, Class<?> contextClass)
	{
		Parameters.checkNotNull(name);
		URL url = contextClass.getResource(name);
		if (url != null) {
			return new Resource(url);
		}
		throw new NotFoundException(name);
	}
public static Resource find ( String name , Class < ? > contextClass ) { Parameters . checkNotNull ( name ) ; URL url = contextClass . getResource ( name ) ; if ( url != null ) { return new Resource ( url ) ; } throw new NotFoundException ( name ) ; }
Finds and returns the resource having the given name (relative to
the specified class).

@param name the resource's name.
@param contextClass the context class.

@return the requested resource.

@throws NullPointerException if {@code name} is {@code null}.
@throws NotFoundException if the resource can't be found.