edu.washington.cs.pl_if
Class Main

java.lang.Object
  extended by edu.washington.cs.pl_if.Main

public class Main
extends Object


Constructor Summary
Main()
           
 
Method Summary
static boolean checkForUpdates()
           
static String getConfig(String key)
           
static Map<String,String> getConfigFromFile(String configFile)
          Reads config from config file
static double getDownloadProgress()
           
static void listThreads()
           
static void main(String[] args)
           
static Map<String,String> parseArgs(String[] args)
          Create a map of the command line arguments
static void prompt(Map<String,String> config)
           
static String readPassword(String prompt)
           
static boolean update()
           
static void visit(ThreadGroup group, int level)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

getDownloadProgress

public static double getDownloadProgress()

main

public static void main(String[] args)
Parameters:
args -

parseArgs

public static Map<String,String> parseArgs(String[] args)
Create a map of the command line arguments

Parameters:
args - the command line arguments
Returns:
Map of the command line arguments

getConfigFromFile

public static Map<String,String> getConfigFromFile(String configFile)
                                            throws IOException
Reads config from config file

Parameters:
configFile -
Returns:
Credentials class with the specified credentials
Throws:
IOException

getConfig

public static String getConfig(String key)

listThreads

public static void listThreads()

visit

public static void visit(ThreadGroup group,
                         int level)

prompt

public static void prompt(Map<String,String> config)
                   throws IOException
Throws:
IOException

readPassword

public static String readPassword(String prompt)

update

public static boolean update()

checkForUpdates

public static boolean checkForUpdates()