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 Link icon

    • TextDataContent Link icon

      protected TextDataContent(int columnCount)
  • Method Details Link icon

    • setHeader Link icon

      protected void setHeader(String[] header)
    • addRow Link icon

      protected void addRow(String[] row)
    • getHeader Link icon

      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 Link icon

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

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

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

      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 Link icon

      public String toString()
      Overrides:
      toString in class Object