Class RecordFormat

java.lang.Object
com.github.jamesross03.pop_parser.utils.RecordFormat
Direct Known Subclasses:
TDFormat, UMEAFormat

public abstract class RecordFormat extends Object
Abstract class representing a format of record input.
  • Constructor Details

    • RecordFormat

      public RecordFormat()
  • Method Details

    • getForenameBirth

      public abstract String getForenameBirth(Map<String,String> row)
      Gets forename from a birth record.
      Parameters:
      row - Map of <key, value> pairs from a line of input
      Returns:
      forename
    • getSurnameBirth

      public abstract String getSurnameBirth(Map<String,String> row)
      Gets surname from a birth record.
      Parameters:
      row - Map of <key, value> pairs from a line of input
      Returns:
      surname
    • toString

      public abstract String toString()
      Overrides:
      toString in class Object