org.simBio.sim.analyzer.csv.result
Class AbstractAppender

java.lang.Object
  extended by org.simBio.core.Component
      extended by org.simBio.core.Parameter
          extended by org.simBio.core.Composite
              extended by org.simBio.core.Analyzer
                  extended by org.simBio.sim.analyzer.csv.result.AbstractAppender
All Implemented Interfaces:
Node
Direct Known Subclasses:
ALaCarte

public abstract class AbstractAppender
extends Analyzer

append the parameters to CSV file at the end of calculation.
計算終了時に結果をcsv fileに追加書き込みする。 file nameに存在しないdirectoryが含まれているときはdirectoryを作成する。

Version:
$Log: AbstractAppender.java,v $ Revision 1.1 2005/11/01 06:32:39 mikaelwing First version of simBio hosted on sourceforge, version 0.3 Revision 1.4 2005/09/16 06:22:06 sarai getFile is moved to FileHandler Revision 1.3 2005/09/16 04:22:24 sarai synchronized csv writing
Author:
Nobuaki Sarai

Field Summary
 Node fileName
          file name to write result data.
 
Fields inherited from class org.simBio.core.Parameter
value
 
Constructor Summary
AbstractAppender()
           
 
Method Summary
protected  void end()
          close csv file.
protected abstract  java.lang.String MakeLabelLine()
           
protected abstract  java.lang.String MakeValueLine()
           
 
Methods inherited from class org.simBio.core.Analyzer
analyze
 
Methods inherited from class org.simBio.core.Composite
accept, getLink, getNode, getNodesIterator, getNodesSize
 
Methods inherited from class org.simBio.core.Parameter
addValue, getValue, getValueString, prepare, setInitializer, setValue, setValueString, setValueToField
 
Methods inherited from class org.simBio.core.Component
addDydt, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit, setLinks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.simBio.core.Node
addDydt, addValue, getValue, setValue
 

Field Detail

fileName

public Node fileName
file name to write result data.

Constructor Detail

AbstractAppender

public AbstractAppender()
Method Detail

end

protected void end()
close csv file.

Overrides:
end in class Component
See Also:
Component.end()

MakeLabelLine

protected abstract java.lang.String MakeLabelLine()
Returns:
label strings.

MakeValueLine

protected abstract java.lang.String MakeValueLine()
Returns:
value strings.


Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.