Returns a resource file of specified name associated with a class.
Returns a resource file of specified name associated with a class.
The resource is looked up under the modified package name of the given class (i.e., with '/' substituted for '.'), unless the resource name begins with a '/', in which case it is looked up under the resource name itself (stripping the leading '/').
the class for which the resource shall be got
the name of the desired resource
the resource as file
java.io.IOException
if no resource with this name is found
Returns a resource of specified name associated with a class.
Returns a resource of specified name associated with a class.
The resource is looked up under the modified package name of the given class (i.e., with '/' substituted for '.'), unless the resource name begins with a '/', in which case it is looked up under the resource name itself (stripping the leading '/').
the class for which the resource shall be got
the name of the desired resource
implicit character encoding
the resource as source
java.io.IOException
if no resource with this name is found