com.enterprisedt.net.ftp.script
Class CommentCommand

java.lang.Object
  extended by com.enterprisedt.net.ftp.script.ScriptCommandImpl
      extended by com.enterprisedt.net.ftp.script.CommentCommand
All Implemented Interfaces:
ScriptCommand

public class CommentCommand
extends ScriptCommandImpl

Writes a comment to the record file if it exists

Version:
$Revision: 1.1 $
Author:
Bruce Blackshaw

Constructor Summary
CommentCommand()
           
 
Method Summary
 CommandResult execute(ScriptEngine engine, ProFTPClientInterface ftp, java.lang.String command, java.lang.String args)
           
 java.lang.String helpMessage()
           
 boolean recordable()
           
 
Methods inherited from class com.enterprisedt.net.ftp.script.ScriptCommandImpl
mustBeConnected, setMustBeConnected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommentCommand

public CommentCommand()
Method Detail

recordable

public boolean recordable()
Specified by:
recordable in interface ScriptCommand
Overrides:
recordable in class ScriptCommandImpl

execute

public CommandResult execute(ScriptEngine engine,
                             ProFTPClientInterface ftp,
                             java.lang.String command,
                             java.lang.String args)
                      throws java.io.IOException,
                             FTPException
Throws:
java.io.IOException
FTPException

helpMessage

public java.lang.String helpMessage()


Copyright © 2001-2006 Enterprise Distributed Technologies Ltd. All Rights Reserved.