Class LineWithInfo

java.lang.Object
org.csveed.row.LineWithInfo
All Implemented Interfaces:
Iterable<String>, Line

public class LineWithInfo extends Object implements Line
The Class LineWithInfo.
  • Constructor Details

    • LineWithInfo

      public LineWithInfo()
  • Method Details

    • addCell

      public void addCell(String cell)
      Adds the cell.
      Parameters:
      cell - the cell
    • iterator

      public Iterator<String> iterator()
      Specified by:
      iterator in interface Iterable<String>
    • markStartOfColumn

      public void markStartOfColumn()
      Mark start of column.
    • markEndOfColumn

      protected void markEndOfColumn()
      Mark end of column.
    • getCellPosition

      protected CellPositionInRow getCellPosition(Column column)
      Gets the cell position.
      Parameters:
      column - the column
      Returns:
      the cell position
    • addCharacter

      public void addCharacter(int symbol)
      Adds the character.
      Parameters:
      symbol - the symbol
    • convertToPrintable

      public String convertToPrintable(int symbol)
      Convert to printable.
      Parameters:
      symbol - the symbol
      Returns:
      the string
    • size

      public int size()
      Description copied from interface: Line
      Size.
      Specified by:
      size in interface Line
      Returns:
      the int
    • get

      public String get(int index)
      Description copied from interface: Line
      Gets the.
      Specified by:
      get in interface Line
      Parameters:
      index - the index
      Returns:
      the string
    • reportOnColumn

      public RowReport reportOnColumn(Column column)
      Description copied from interface: Line
      Report on column.
      Specified by:
      reportOnColumn in interface Line
      Parameters:
      column - the column
      Returns:
      the row report
    • reportOnEndOfLine

      public RowReport reportOnEndOfLine()
      Description copied from interface: Line
      Report on end of line.
      Specified by:
      reportOnEndOfLine in interface Line
      Returns:
      the row report