Class TextDataContent

java.lang.Object
com.aquima.interactions.framework.util.textdata.TextDataContent

public final class TextDataContent extends Object
This class contains DSV data.
Since:
6.3
Author:
Jon van Leuven
  • Constructor Details

    • TextDataContent

      protected TextDataContent(int columnCount)
  • Method Details

    • setHeader

      protected void setHeader(String[] header)
    • addRow

      protected void addRow(String[] row)
    • getHeader

      public String[] getHeader()
      This method returns the headers of the dsv content. If not null then the size of the returned array is equal to the value specified by getColumnCount.
      Returns:
      The headers of the dsv content (may be null if no header specified)
    • getRow

      public String[] getRow(int rowIndex)
      This method returns a specific row.
      Parameters:
      rowIndex - The index of the row to retrieve
      Returns:
      The row.
    • getColumnCount

      public int getColumnCount()
      This method returns the number of colums.
      Returns:
      The number of columns.
    • getRowCount

      public int getRowCount()
      This method returns the number of rows.
      Returns:
      The number of columns.
    • getValue

      public String getValue(int row, int column)
      This method returns a value for a specific field in the data matrix.
      Parameters:
      row - The row number
      column - The column number
      Returns:
      The value ( may be null )
    • toString

      public String toString()
      Overrides:
      toString in class Object