org.globus.ftp
Class ChecksumOptions

java.lang.Object
  extended by org.globus.ftp.Options
      extended by org.globus.ftp.ChecksumOptions

public class ChecksumOptions
extends Options

CKSM options as defined in GridFTP.


Field Summary
protected  ChecksumAlgorithm algo
           
 
Fields inherited from class org.globus.ftp.Options
command
 
Constructor Summary
ChecksumOptions(ChecksumAlgorithm algo)
           
 
Method Summary
 String getArgument()
          Subclasses should implement this method.
 
Methods inherited from class org.globus.ftp.Options
toFtpCmdArgument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

algo

protected ChecksumAlgorithm algo
Constructor Detail

ChecksumOptions

public ChecksumOptions(ChecksumAlgorithm algo)
Parameters:
cmd - command whose options are represent by this object
Method Detail

getArgument

public String getArgument()
Subclasses should implement this method. It should return the right side of the options line, in the format of OPTS command. It should not include the command name.

Specified by:
getArgument in class Options