palmed.command
Class SaveCommand

java.lang.Object
  extended by palmed.command.SaveCommand
All Implemented Interfaces:
ICommand

public final class SaveCommand
extends java.lang.Object
implements ICommand

This class implements the 'save' command.

Version:
$Revision$ $Date$
Author:
Mathieu Champlon

Constructor Summary
SaveCommand(IBufferManager manager, ICommand command)
          Create a save command.
 
Method Summary
 void execute()
          Execute the command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveCommand

public SaveCommand(IBufferManager manager,
                   ICommand command)
Create a save command.

Parameters:
manager - the buffer manager
command - the command to execute if save fails
Method Detail

execute

public void execute()
Execute the command.

Specified by:
execute in interface ICommand


Copyright © 2004-2006 PalmEd. All Rights Reserved.