java.lang.Object
org.csveed.row.LineWithInfo
The Class LineWithInfo.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the cell.voidaddCharacter(int symbol) Adds the character.convertToPrintable(int symbol) Convert to printable.get(int index) Gets the.protected CellPositionInRowgetCellPosition(Column column) Gets the cell position.iterator()protected voidMark end of column.voidMark start of column.reportOnColumn(Column column) Report on column.Report on end of line.intsize()Size.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
LineWithInfo
public LineWithInfo()
-
-
Method Details
-
addCell
Adds the cell.- Parameters:
cell- the cell
-
iterator
-
markStartOfColumn
public void markStartOfColumn()Mark start of column. -
markEndOfColumn
protected void markEndOfColumn()Mark end of column. -
getCellPosition
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
Convert to printable.- Parameters:
symbol- the symbol- Returns:
- the string
-
size
public int size()Description copied from interface:LineSize. -
get
Description copied from interface:LineGets the. -
reportOnColumn
Description copied from interface:LineReport on column.- Specified by:
reportOnColumnin interfaceLine- Parameters:
column- the column- Returns:
- the row report
-
reportOnEndOfLine
Description copied from interface:LineReport on end of line.- Specified by:
reportOnEndOfLinein interfaceLine- Returns:
- the row report
-