Class CSVInterface


public class CSVInterface extends FILEInterface
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.getInterface(FWSimVarMap, CONTENT_TYPE).getLinesOfFile();
Author:
Andreas Enders
  • Field Details

    • iDivider

      protected String iDivider
      divider can be given in xml-configuration tag. If not given divider will by default be 'tab' or '\t'
    • iSkipAboveSize

      protected long iSkipAboveSize
      the file name
    • iLinesToRead

      protected Integer[] iLinesToRead
      number of header lines to skip before reading the data
    • iUnit2Fieldname

      protected boolean iUnit2Fieldname
      add unit to field name in output
    • iDataMode

      protected CSVInterface.DATA_MODE iDataMode
      data mode for IO to read/write array values
    • iSkipHeaderLines

      protected Integer iSkipHeaderLines
      number of header lines to skip before reading the data
  • Constructor Details

    • CSVInterface

      protected CSVInterface(String aName, org.jdom2.Element aInterfaceElement)
      Parameters:
      aName -
      aPoolSize -
      aInterfaceElement -
    • CSVInterface

      public CSVInterface(String aName, int aPoolSize, String aFileName, String aContent, String aDivider, long aSkipAboveSize, Integer[] aLinesToRead, Integer aSkipHeaderLines, Boolean aAddUnit2FieldName, CSVInterface.DATA_MODE aDataMode)
      Parameters:
      aName -
      aPoolSize -
      aFileName -
      aDivider -
      aSkipAboveSize -
      aLinesToRead -
      aSkipHeaderLines -
  • Method Details