Class ResourceTypeAdapterRegistry

    • Method Detail

      • registerAdapter

        public void registerAdapter​(java.lang.String resourceType,
                                    ResourceTypeAdapter adapter)
        Register ResourceTypeAdapters for use.
        Parameters:
        resourceType - the name of the resource type you want to adapt. Generally these names are the 'old' name if the resource has been renamed, but may also be the 'new' or 'same' name, but with an adapter that converts data or file names to newer versions.
        adapter - the adapter to use for the resourceType when an adapter is requested from the registry.