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
 java.lang.String getCommandDescriptions()
          return high-level help about the commands supported by this object.
protected  boolean performCommand(ConsoleInput ci, DownloadManager dm, java.util.List args)
          finds the appropriate subcommand and executes it.
 void printHelpExtra(java.io.PrintStream out, java.util.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 java.lang.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(java.io.PrintStream out,
                           java.util.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,
                                 java.util.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