|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.refFaultParamDb.gui.view.DeformationModelFileWriter
public class DeformationModelFileWriter
| Constructor Summary | |
|---|---|
DeformationModelFileWriter(DB_AccessAPI dbConnection)
|
|
| Method Summary | |
|---|---|
String |
getFormatStringForDeformationModel()
File format for writing fault sections in a deformation model file. |
String |
getStringForDeformationModel(FaultSectionPrefData faultSectionPrefData)
Get String for faultSectionPrefData ( including slip rate and aseismic slip factor) |
void |
run()
|
void |
writeForDeformationModel(FaultSectionPrefData faultSectionPrefData,
FileWriter fw)
Write FaultSectionPrefData to the file. |
void |
writeForDeformationModel(int deformationModelId,
File file,
boolean createExcelSheet)
Write FaultSectionPrefData to file. |
void |
writeForDeformationModel(int deformationModelId,
int faultSectionId,
FileWriter fw)
Write FaultSectionPrefData to the file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DeformationModelFileWriter(DB_AccessAPI dbConnection)
| Method Detail |
|---|
public void writeForDeformationModel(int deformationModelId,
File file,
boolean createExcelSheet)
faultSectionIds - array of faultsection Ids
It creates an excel sheet as well if createExcelSheet is set as true. Excel sheet format is
as requested by Ray Weldon in his email on June 26, 2007 at 1:39 PMfile - public void run()
run in interface Runnable
public void writeForDeformationModel(int deformationModelId,
int faultSectionId,
FileWriter fw)
faultSectionId - Fault section Id for which data needs to be written to filefw -
public void writeForDeformationModel(FaultSectionPrefData faultSectionPrefData,
FileWriter fw)
faultSectionPrefData - fw - public String getStringForDeformationModel(FaultSectionPrefData faultSectionPrefData)
faultSectionPrefData -
public String getFormatStringForDeformationModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||