Class SpellsUtils


  • public class SpellsUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SpellsUtils​(@NotNull java.lang.String spellFile)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void importSpells​(@NotNull java.io.File dir, @NotNull java.awt.Component parent)
      Opens a file chooser to select the spell list file, then import spells.
      • Methods inherited from class java.lang.Object

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

      • SpellsUtils

        public SpellsUtils​(@NotNull
                           @NotNull java.lang.String spellFile)
        Creates a new instance.
        Parameters:
        spellFile - the spell file name
    • Method Detail

      • importSpells

        public void importSpells​(@NotNull
                                 @NotNull java.io.File dir,
                                 @NotNull
                                 @NotNull java.awt.Component parent)
        Opens a file chooser to select the spell list file, then import spells.
        Parameters:
        dir - the directory to use
        parent - the parent component for dialog boxes