Interface PrefabLoader

  • All Known Implementing Classes:
    PrefabLoaderImpl

    public interface PrefabLoader
    A PrefabLoaderImpl is responsible for loading Prefab from a single source (local directory or remote system).
    • Method Detail

      • loadPrefabs

        void loadPrefabs()
        Loads all prefabs. This involves reading the source files/streams and creating their equivalent Prefabs. Possible RuntimeExceptions should be logged and not thrown to the caller.
      • loadPrefab

        void loadPrefab​(java.io.File jarFile)
                 throws java.lang.Exception
        Loads Prefab from the given jar file.
        Parameters:
        jarFile - prefab jar file
        Throws:
        java.lang.Exception - if the jar file is invalid