Class ShortcutsLoader


  • public class ShortcutsLoader
    extends java.lang.Object
    Manages shortcuts.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void loadShortcuts​(@NotNull Shortcuts shortcuts, @NotNull java.lang.CharSequence hostname, @NotNull java.lang.CharSequence character)
      Load shortcut info from the backing file.
      static void saveShortcuts​(@NotNull Shortcuts shortcuts)
      Save all shortcut info to the backing file.
      • Methods inherited from class java.lang.Object

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

      • loadShortcuts

        public static void loadShortcuts​(@NotNull
                                         @NotNull Shortcuts shortcuts,
                                         @NotNull
                                         @NotNull java.lang.CharSequence hostname,
                                         @NotNull
                                         @NotNull java.lang.CharSequence character)
        Load shortcut info from the backing file.
        Parameters:
        shortcuts - the shortcuts instance to update
        hostname - the current hostname
        character - the current character name
      • saveShortcuts

        public static void saveShortcuts​(@NotNull
                                         @NotNull Shortcuts shortcuts)
        Save all shortcut info to the backing file.
        Parameters:
        shortcuts - the shortcuts instance to save