org.subethamail.smtp.command
Class HelpCommand

java.lang.Object
  extended by org.subethamail.smtp.server.BaseCommand
      extended by org.subethamail.smtp.command.HelpCommand
All Implemented Interfaces:
Command

public class HelpCommand
extends BaseCommand

Provides a help system for people to interact with.

Author:
Ian McFarland <ian@neo.com>, Jon Stevens, Scott Hernandez

Constructor Summary
HelpCommand()
           
 
Method Summary
 void execute(java.lang.String commandString, Session context)
          This is the main method that you need to override in order to implement a command.
protected  java.lang.String getFormattedTopicList(SMTPServer server)
           
 
Methods inherited from class org.subethamail.smtp.server.BaseCommand
getArgPredicate, getArgs, getHelp, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HelpCommand

public HelpCommand()
Method Detail

execute

public void execute(java.lang.String commandString,
                    Session context)
             throws java.io.IOException
Description copied from class: BaseCommand
This is the main method that you need to override in order to implement a command.

Specified by:
execute in interface Command
Specified by:
execute in class BaseCommand
Throws:
java.io.IOException

getFormattedTopicList

protected java.lang.String getFormattedTopicList(SMTPServer server)


Copyright © 2009 SubEthaSMTP. All Rights Reserved. Build version: UNVERSIONED