org.gudy.azureus2.ui.console.commands
Class Hack

java.lang.Object
  extended by org.gudy.azureus2.ui.console.commands.IConsoleCommand
      extended by org.gudy.azureus2.ui.console.commands.TorrentCommand
          extended by org.gudy.azureus2.ui.console.commands.Hack

public class Hack
extends TorrentCommand

Author:
Tobias Minich

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
 
Constructor Summary
Hack()
           
 
Method Summary
 String getCommandDescriptions()
          return high-level help about the commands supported by this object.
protected  boolean performCommand(ConsoleInput ci, DownloadManager dm, List args)
          finds the appropriate subcommand and executes it.
 void printHelpExtra(PrintStream out, List args)
          prints out the syntax of this command
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.TorrentCommand
execute, getAction, performCommand
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
expandVariable, getCommandName, getCommandNames, getDefaultSummaryFormat, getShortCommandName, getTorrentSummary, printHelp, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hack

public Hack()
Method Detail

getCommandDescriptions

public String getCommandDescriptions()
Description copied from class: IConsoleCommand
return high-level help about the commands supported by this object.

Specified by:
getCommandDescriptions in class IConsoleCommand
Returns:

printHelpExtra

public void printHelpExtra(PrintStream out,
                           List args)
Description copied from class: TorrentCommand
prints out the syntax of this command

Overrides:
printHelpExtra in class TorrentCommand

performCommand

protected boolean performCommand(ConsoleInput ci,
                                 DownloadManager dm,
                                 List args)
finds the appropriate subcommand and executes it. the execute() method will have taken care of finding/iterating over the appropriate torrents

Specified by:
performCommand in class TorrentCommand