Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

burningbox.org.dsh.commands
Class SaveCommand  view SaveCommand download SaveCommand.java

java.lang.Object
  extended byburningbox.org.dsh.commands.AbstractCommand
      extended byburningbox.org.dsh.commands.SaveCommand
All Implemented Interfaces:
CombatCommand, RegularCommand

public class SaveCommand
extends AbstractCommand
implements RegularCommand, CombatCommand

Loads an xml file into the session. The behaviour of this command differs, depending on what can be found in the file to load

CVS Info :
$Author: jmettraux $
$Date: 2002/06/26 15:00:57 $
$Id: SaveCommand.java,v 1.4 2002/06/26 15:00:57 jmettraux Exp $


Field Summary
(package private) static org.apache.log4j.Category cat
           
 
Fields inherited from class burningbox.org.dsh.commands.AbstractCommand
commandLine, originalCommandLine, tokenizer
 
Constructor Summary
SaveCommand()
           
 
Method Summary
 boolean execute()
          This method is called when the command is executed.
 java.lang.String getHelp()
          as the name implies
 java.lang.String getSyntax()
          as the name implies
 
Methods inherited from class burningbox.org.dsh.commands.AbstractCommand
getTokenizer, noMoreTokens, setCommandLine, setOriginalCommandLine, setTokenizer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

static org.apache.log4j.Category cat
Constructor Detail

SaveCommand

public SaveCommand()
Method Detail

execute

public boolean execute()
Description copied from class: AbstractCommand
This method is called when the command is executed.

Specified by:
execute in class AbstractCommand

getSyntax

public java.lang.String getSyntax()
Description copied from class: AbstractCommand
as the name implies

Specified by:
getSyntax in class AbstractCommand

getHelp

public java.lang.String getHelp()
Description copied from class: AbstractCommand
as the name implies

Specified by:
getHelp in class AbstractCommand