org.edg.data.reptor.client
Class CommandCopyFile

java.lang.Object
  |
  +--org.edg.data.util.CommandBase
        |
        +--org.edg.data.reptor.client.CommandCopyFile
All Implemented Interfaces:
org.edg.data.util.Command

public class CommandCopyFile
extends org.edg.data.util.CommandBase

The implementation of the copy functionality.

Version:
$Id: CommandCopyFile.java,v 1.18 2003/06/13 17:42:37 mccance Exp $
Author:
Peter Kunszt, Heinz Stockinger

Field Summary
static java.lang.String DEST
           
static java.lang.String SOURCE
           
 
Constructor Summary
CommandCopyFile(java.lang.String programName, java.lang.String commandName, java.lang.String[] commandOpts)
           
 
Method Summary
 boolean execute()
           
protected  void init()
           
 
Methods inherited from class org.edg.data.util.CommandBase
addArgument, addOption, description, getArgument, getBoolOption, getCommandLine, getCommandName, getConfigFile, getOptions, getProgramName, getStringOption, getTimingFile, getVO, isSecure, isTiming, isVerbose, printHelp, setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOURCE

public static final java.lang.String SOURCE
See Also:
Constant Field Values

DEST

public static final java.lang.String DEST
See Also:
Constant Field Values
Constructor Detail

CommandCopyFile

public CommandCopyFile(java.lang.String programName,
                       java.lang.String commandName,
                       java.lang.String[] commandOpts)
                throws org.edg.data.util.CommandLineException,
                       ReptorException
Method Detail

init

protected void init()
Specified by:
init in class org.edg.data.util.CommandBase

execute

public boolean execute()
                throws org.edg.data.util.DataException
Specified by:
execute in interface org.edg.data.util.Command
Specified by:
execute in class org.edg.data.util.CommandBase
org.edg.data.util.DataException