added utility method getResource(String, ResourceSet)