Interface RowRecord

All Known Implementing Classes:
ArrayRowRecord, CSVRowRecord, SkippedRecord

public interface RowRecord
Represents a row in a flat file
Author:
dimitri
  • Method Summary

    Modifier and Type
    Method
    Description
    get​(int index)
    Access token in the row by index
    get​(String name)
    Access token in the row by name
    long
    The row number in the file
    int
    Number of tokens
    default boolean
     
  • Method Details

    • get

      String get(int index)
      Access token in the row by index
      Parameters:
      index - the index
      Returns:
      the record @index
    • get

      String get(String name)
      Access token in the row by name
      Parameters:
      name - the name identifying the record
      Returns:
      the record of that name or null if it does not exist
    • size

      int size()
      Number of tokens
      Returns:
      the number of tokens
    • getRowNumber

      long getRowNumber()
      The row number in the file
      Returns:
      the row number
    • skipped

      default boolean skipped()