UI
Class GEVAJarHunter

java.lang.Object
  extended by UI.GEVAJarHunter
All Implemented Interfaces:
java.lang.Runnable

public class GEVAJarHunter
extends java.lang.Object
implements java.lang.Runnable

Asynchronously build a list of all the jar files in the specified paths

Author:
eliott bartley

Method Summary
static void add(java.lang.String name, java.lang.String paths)
          Add a new name and search path
static java.lang.String get(java.lang.String name)
          Get the list of jar files by name.
 void run()
          Run the search
static void start()
          Start the search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static void add(java.lang.String name,
                       java.lang.String paths)
Add a new name and search path

Parameters:
name - Name used to relate back to
paths - Search path(s) - see GEVAHelper.fileList for more info

start

public static void start()
Start the search


run

public void run()
Run the search

Specified by:
run in interface java.lang.Runnable

get

public static java.lang.String get(java.lang.String name)
Get the list of jar files by name. This method will block until the list of jar files has been created

Parameters:
name -
Returns:
null if the get was cancelled, else string containing all used jar files. If there are no jar files, an empty string is returned