public ClassResource(Class resourceOwnerClass, String resourceName)(Code)
Parameters: resourceOwnerClass - the Class that own the resource. specifies thelocation of the actual file. Parameters: resourceName - The name of the resource, given for methodClass.getResourceAsStream(). See Also:java.lang.Class.getResourceAsStream See Also:java.lang.Class.getResource