java.lang.Object
com.aquima.interactions.framework.service.connectivity.parameters.MetaData
com.aquima.interactions.framework.service.connectivity.csv.CsvMetaData

public class CsvMetaData extends MetaData
This class is responsible for parsing the csv metadata.
Since:
6.3
Author:
Jon van Leuven
  • Constructor Details

    • CsvMetaData

      protected CsvMetaData(IXmlNode metaDataNode)
  • Method Details

    • hasRowHeaders

      public boolean hasRowHeaders()
      This method returns true if the csv resource's first row contains the headers.
      Returns:
      True if the first row are the headers.
    • getTextQualifier

      public char getTextQualifier()
      This method returns the character to use for quoted elements.
      Returns:
      The character for quoted elements.
    • getDelimiter

      public char getDelimiter()
      This method returns the delimiter to use for separating entries.
      Returns:
      The he delimiter to use for separating entries..
    • getColumnWidths

      public int[] getColumnWidths()
      This method returns the column widths for a fixed width text resource.
      Returns:
      An array of column widths.
    • isFixedWidthText

      public boolean isFixedWidthText()
      This method returns true the resource should be parsed as a fixed width text resource.
      Returns:
      True if it is a fixed width resource, false if it is a standard csv resource.
    • getCharset

      public String getCharset()
      This method returns the charset for the csv;
      Returns:
      The charset value if defined in the studio model; null otherwise.