org.gudy.azureus2.ui.console.multiuser.commands
Class Show

java.lang.Object
  extended by org.gudy.azureus2.ui.console.commands.IConsoleCommand
      extended by org.gudy.azureus2.ui.console.commands.Show
          extended by org.gudy.azureus2.ui.console.multiuser.commands.Show

public class Show
extends Show

subclass of Show command that is useful for multi-user

Author:
pauld

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
IConsoleCommand.TorrentComparator
 
Constructor Summary
Show()
           
 
Method Summary
protected  String expandVariable(char variable, DownloadManager dm)
          adds an additional variable 'o' for torrent owner
protected  String getDefaultSummaryFormat()
          display a similar torrent summary to the superclass but also display the username
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.Show
execute, getCommandDescriptions, printHelpExtra, showDHTStats
 
Methods inherited from class org.gudy.azureus2.ui.console.commands.IConsoleCommand
getCommandName, getCommandNames, getShortCommandName, getTorrentSummary, printHelp, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Show

public Show()
Method Detail

getDefaultSummaryFormat

protected String getDefaultSummaryFormat()
display a similar torrent summary to the superclass but also display the username

Overrides:
getDefaultSummaryFormat in class IConsoleCommand
Returns:

expandVariable

protected String expandVariable(char variable,
                                DownloadManager dm)
adds an additional variable 'o' for torrent owner

Overrides:
expandVariable in class IConsoleCommand
Parameters:
variable - variable character, eg: 'e' for ETA
dm - download manager object
Returns:
string expansion of the variable