org.opensha.nshmp.util
Class MapUtil

java.lang.Object
  extended by org.opensha.nshmp.util.MapUtil

public final class MapUtil
extends Object

Title: MapUtil

Description: This class allows the user to get the listing of the NSHMP map files.

Version:
1.0
Author:
Ned Field, Nitin Gupta and E.V.Leyendecker

Field Summary
static ArrayList mapFiles
           
static ArrayList mapInfo
           
static String mapURL_Path
           
 
Constructor Summary
MapUtil()
           
 
Method Summary
static void createMapList(String selectedRegion, String selectedDataEdition)
          This will create list of maps that user can view, based on Region and data-edition selected by the user.
static String[] getSupportedMapFiles()
          Returns the URLs to actual map files.
static String[] getSupportedMapInfo()
          Returns the supported maps info strings based on the selected region and data edition.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapInfo

public static ArrayList mapInfo

mapFiles

public static ArrayList mapFiles

mapURL_Path

public static final String mapURL_Path
See Also:
Constant Field Values
Constructor Detail

MapUtil

public MapUtil()
Method Detail

createMapList

public static void createMapList(String selectedRegion,
                                 String selectedDataEdition)
This will create list of maps that user can view, based on Region and data-edition selected by the user.

Parameters:
selectedRegion - String
selectedDataEdition - String

getSupportedMapInfo

public static String[] getSupportedMapInfo()
Returns the supported maps info strings based on the selected region and data edition.

Returns:
String[]

getSupportedMapFiles

public static String[] getSupportedMapFiles()
Returns the URLs to actual map files.

Returns:
String[]