FileDocCategorySizeDatePackage
TorrentCheck.javaAPI DocAzureus 3.0.3.41779Tue Dec 21 00:19:30 GMT 2004org.gudy.azureus2.ui.console.commands

TorrentCheck

public class TorrentCheck extends TorrentCommand
console command to initiate recheck of a torrent. code was originally in Torrent class authored by tobias

Fields Summary
Constructors Summary
public TorrentCheck()

		super(new String[] { "check", "c"}, "Initiating recheck of");
	
Methods Summary
public java.lang.StringgetCommandDescriptions()

		return("check (<torrentoptions>)\tc\tForce recheck on torrent(s).");
	
protected booleanperformCommand(org.gudy.azureus2.ui.console.ConsoleInput ci, org.gudy.azureus2.core3.download.DownloadManager dm, java.util.List args)

		try {
			if (dm.canForceRecheck()) {
				dm.forceRecheck();
				return true;
			} else
				return false;
		} catch (Exception e) {
			e.printStackTrace(ci.out);
			return false;
		}