org.opensha.nshmp.sha.io
Class DataFileNameSelectorForHazardCurves

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

public class DataFileNameSelectorForHazardCurves
extends java.lang.Object

Title: DataFileNameSelector

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

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

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

Constructor Detail

DataFileNameSelectorForHazardCurves

public DataFileNameSelectorForHazardCurves()
Method Detail

getFileName

public java.lang.String getFileName(java.lang.String selectedRegion,
                                    java.lang.String selectedEdition,
                                    double lat,
                                    double lon,
                                    java.lang.String hazardCurveType)
Parameters:
selectedRegion - String
selectedEdition - String
lat - double
lon - double
Returns:
String