osdep.console
Class ConsoleSiteChooser

java.lang.Object
  extended by osdep.console.ConsoleSiteChooser
All Implemented Interfaces:
ISiteChooser

public class ConsoleSiteChooser
extends java.lang.Object
implements ISiteChooser

Asks the user the site to use to download the zip file

Author:
SHZ Mar 17, 2008

Constructor Summary
ConsoleSiteChooser()
           
 
Method Summary
 java.lang.String getSite()
          Returns the chosen site
 void setup(java.util.List<SiteEntry> lstEntry)
          Set up the chooser with the list of sites to choose
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleSiteChooser

public ConsoleSiteChooser()
Method Detail

setup

public void setup(java.util.List<SiteEntry> lstEntry)
Description copied from interface: ISiteChooser
Set up the chooser with the list of sites to choose

Specified by:
setup in interface ISiteChooser
Parameters:
lstEntry - the list of sites

getSite

public java.lang.String getSite()
Description copied from interface: ISiteChooser
Returns the chosen site

Specified by:
getSite in interface ISiteChooser
Returns:
the chosen site directory link