code: @Deprecated
      public static RegionMetadata loadMetadataFromResource(
              final Class<?> clazz,
              final String name) throws IOException {
  
          return LegacyRegionXmlLoadUtils.load(clazz, name);
      }
docs: Loads a set of region metadata from an XML file stored as a resource of
  the classloader used to load the given class.
  
  @param clazz the class to use as a base for the resource
  @param name  the path to the resource, relative to the given class
  @return the parsed region metadata
  @throws IOException if the resource is not found or cannot be parsed