Class AutojoinListsParser


  • public class AutojoinListsParser
    extends java.lang.Object
    Loader for AutojoinLists instances from files.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>>
      @NotNull AutojoinLists<G,​A,​R>
      loadList​(@NotNull ErrorView errorView, ArchetypeSet<G,​A,​R> archetypeSet, @NotNull java.io.File baseDir)
      Loads all the autojoin lists from the data file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadList

        @NotNull
        public static <G extends GameObject<G,​A,​R>,​A extends MapArchObject<A>,​R extends Archetype<G,​A,​R>> @NotNull AutojoinLists<G,​A,​R> loadList​(@NotNull
                                                                                                                                                                                                 @NotNull ErrorView errorView,
                                                                                                                                                                                                 ArchetypeSet<G,​A,​R> archetypeSet,
                                                                                                                                                                                                 @NotNull
                                                                                                                                                                                                 @NotNull java.io.File baseDir)
        Loads all the autojoin lists from the data file.
        Parameters:
        errorView - the error view for reporting errors
        archetypeSet - the archetype set for looking up archetypes
        baseDir - the base directory to load autojoin info from
        Returns:
        the loaded autojoin lists