edu.washington.cs.pl_if
Class Main
java.lang.Object
edu.washington.cs.pl_if.Main
public class Main
- extends Object
Constructor Summary |
Main()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Main
public Main()
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()