net.simplace.simulation.io.interfaces.CSVInterface

implementation of the FWSimInterface giving access to resources from and output to files divider can be given in xml-configuration tag. If not given divider will by default be 'tab' or '\t' Use Interface by FWSimInterface.getLinesOfFile();


public class CSVInterface extends FILEInterface {
// Public Constructors
public CSVInterface(String aName, int aPoolSize, String aFileName, String
aDivider);
// Protected Constructors
protected CSVInterface(String aName, int aPoolSize, Element
aInterfaceElement);

// Protected Instance Variables
protected String iDivider;

// Public Instance Methods
public FilePool getInterface(FWSimVarMap aVarMap, FWSimVariable.CONTENT_TYPE
aContentType); // Overrides FILEInterface

implementation of the get interface method.
public String getDivider();

divider can be given in xml-configuration tag. If not given divider will by default be 'tab' or '\t'
returns the divider the string is split with to read the data from columns
public Element toXML(); // Overrides FILEInterface


returns Element containing configuration for this Interface


}



Hierarchy: java.lang.Object - FWSimInterface - FILEInterface - CSVInterface



Passed to: net.simplace.simulation.io.output.adapter.CSVOutputAdapter(), net.simplace.simulation.io.resources.adapter.CSVResourceAdapter()