|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.util.io.FEMINSaver
public class FEMINSaver
Class Description: Used to save new FEMIN files based on the data contained by the FEMManager
Field Summary | |
---|---|
protected static Logger |
localLogger
|
Constructor Summary | |
---|---|
FEMINSaver()
Create a new FEMINSaver |
Method Summary | |
---|---|
boolean |
save(java.io.File outFile,
boolean femPlotterCompatible)
Save all data (which is stored in the FEMManager) to the given file in FEMIN style |
protected boolean |
writeBorders(java.io.StringWriter writer,
BorderList borderList)
Write the Borders to the file |
protected boolean |
writeCalculations(java.io.StringWriter writer,
java.util.List<Calculation> calculationList)
Write the Calculations to the file |
protected boolean |
writeCloseFooter(java.io.StringWriter writer)
Write the closing footer of the file |
protected boolean |
writeElements(java.io.StringWriter writer,
boolean femPlotterCompatible,
ElementList elementList)
Write the Elements to the file |
protected boolean |
writeFEMApproach(java.io.StringWriter writer,
boolean femPlotterCompatible,
int femApproach)
Write the FEM Approach to the file |
protected boolean |
writeNodes(java.io.StringWriter writer,
boolean femPlotterCompatible,
int femApproach,
NodeList nodeList)
Write the Nodes to the file |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Logger localLogger
Constructor Detail |
---|
public FEMINSaver()
Method Detail |
---|
public boolean save(java.io.File outFile, boolean femPlotterCompatible)
outFile,
- the file to save tofemPlotterCompatible,
- true if the file should be saved FEM_PLOTTER compatible
protected boolean writeBorders(java.io.StringWriter writer, BorderList borderList)
writer,
- the writer to useborderList,
- the border list to write out
protected boolean writeCalculations(java.io.StringWriter writer, java.util.List<Calculation> calculationList)
writer,
- the writer to usecalculationList,
- the calculation list to write out
protected boolean writeCloseFooter(java.io.StringWriter writer)
writer,
- the writer to use
protected boolean writeElements(java.io.StringWriter writer, boolean femPlotterCompatible, ElementList elementList)
writer,
- the writer to usefemPlotterCompatible,
- true if FEM_PLOTTER compatibleelementList,
- the element list to write out
protected boolean writeFEMApproach(java.io.StringWriter writer, boolean femPlotterCompatible, int femApproach)
writer,
- the writer to usefemPlotterCompatible,
- true if FEM_PLOTTER compatiblefemApproach,
- the approach to write out
protected boolean writeNodes(java.io.StringWriter writer, boolean femPlotterCompatible, int femApproach, NodeList nodeList)
writer,
- the writer to usefemPlotterCompatible,
- true if FEM_PLOTTER compatiblefemApproach,
- the approach to determine how to write certain things to the filenodeList,
- the node list to write to the file
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |