com.realtime.crossfire.jxclient.window
Class ShortcutsLoader

java.lang.Object
  extended by com.realtime.crossfire.jxclient.window.ShortcutsLoader

public class ShortcutsLoader
extends java.lang.Object

Manages shortcuts.


Constructor Summary
private ShortcutsLoader()
          Private constructor to prevent instantiation.
 
Method Summary
static void loadShortcuts(Shortcuts shortcuts, java.lang.CharSequence hostname, java.lang.CharSequence character)
          Load shortcut info from the backing file.
static void saveShortcuts(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
 

Constructor Detail

ShortcutsLoader

private ShortcutsLoader()
Private constructor to prevent instantiation.

Method Detail

loadShortcuts

public static void loadShortcuts(@NotNull
                                 Shortcuts shortcuts,
                                 @NotNull
                                 java.lang.CharSequence hostname,
                                 @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
                                 Shortcuts shortcuts)
Save all shortcut info to the backing file.

Parameters:
shortcuts - the shortcuts instance to save