org.opensha.nshmp.sha.io
Class DataFileNameSelectorForUHS

java.lang.Object
  extended by org.opensha.nshmp.sha.io.DataFileNameSelectorForUHS

public class DataFileNameSelectorForUHS
extends Object

Title: DataFileNameSelectorForUHS

Description: This class gives name of the datafile to read based on the analysis option, edition, location and spectra type filled in by the user.

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

Constructor Summary
DataFileNameSelectorForUHS()
           
 
Method Summary
 String getFileName(String selectedRegion, String selectedEdition, double lat, double lon, String spectraType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFileNameSelectorForUHS

public DataFileNameSelectorForUHS()
Method Detail

getFileName

public String getFileName(String selectedRegion,
                          String selectedEdition,
                          double lat,
                          double lon,
                          String spectraType)
Parameters:
selectedRegion - String
selectedEdition - String
lat - double
lon - double
Returns:
String