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, long aSkipAboveSize, Integer[] aLinesToRead, Integer
aSkipHeaderLines, Boolean aAddUnit2FieldName);
// Protected Constructors
protected CSVInterface(String aName, Element aInterfaceElement);
// Protected Instance Variables
protected String iDivider;
protected long iSkipAboveSize;
protected Integer[] iLinesToRead;
protected boolean iUnit2Fieldname;
protected Integer iSkipHeaderLines;
// Public Instance Methods 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 Integer[] getLinesToRead();
returns
public Integer getSkipHeaderLines();
returns the skipHeaderLines
public long getSkipAboveSize();
returns
public boolean getAddUnitToFieldName();
returns if units should be added to field name
public Element
toXML();
// Defines FILEInterface
returns Element containing configuration for this Interface
}
Hierarchy: java.lang.Object - FWSimInterface - FILEInterface - CSVInterface
Passed to: net.simplace.sim.io.output.adapter.CSVOutputAdapter(), net.simplace.sim.io.resources.adapter.CSVResourceAdapter()