com.googlecode.jpattern.core.textfiles
Class FileCopyCommand

java.lang.Object
  extended by com.googlecode.jpattern.core.command.ICommand
      extended by com.googlecode.jpattern.core.command.ACommand
          extended by com.googlecode.jpattern.core.textfiles.FileCopyCommand
All Implemented Interfaces:
Serializable, Runnable

public class FileCopyCommand
extends ACommand

Author:
Francesco Cina' 10/giu/2010
See Also:
Serialized Form

Constructor Summary
FileCopyCommand(StringBuffer sourceFileName, IResource source, StringBuffer destinationFileName, IResource destination)
           
FileCopyCommand(StringBuffer sourceFileName, IResource source, StringBuffer destinationFileName, IResource destination, ICommand aSuccessor)
           
 
Method Summary
protected  void internalRollBack(ICommandResult result)
           
protected  void result(ICommandResult result)
           
 
Methods inherited from class com.googlecode.jpattern.core.command.ACommand
exec, exec, getLogger, getPreviousCommand, getProvider, run, visit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCopyCommand

public FileCopyCommand(StringBuffer sourceFileName,
                       IResource source,
                       StringBuffer destinationFileName,
                       IResource destination)

FileCopyCommand

public FileCopyCommand(StringBuffer sourceFileName,
                       IResource source,
                       StringBuffer destinationFileName,
                       IResource destination,
                       ICommand aSuccessor)
Method Detail

internalRollBack

protected void internalRollBack(ICommandResult result)
Specified by:
internalRollBack in class ACommand

result

protected void result(ICommandResult result)
Specified by:
result in class ACommand


Copyright © 2011. All Rights Reserved.