Interface IModelLoader<M extends IModel>

Type Parameters:
M - the specific type of the model

public interface IModelLoader<M extends IModel>
Defines the interface for a mechanism being able to load models.
Author:
Holger Eichelberger
  • Method Details

    • load

      Loads the related model.
      Parameters:
      info - the model to be loaded (as information object)
      resolver - the import resolver to use (or null for a new default import resolver)
      Returns:
      the loaded model (or null in case of problems)
    • scan

      void scan(File location, IModelLoader.IModelInfoHolder<M> holder)
      Scans a file for model information.
      Parameters:
      location - the file to be scanned
      holder - an instance providing limited access to the model information storage