Class TableCharacterUtil

java.lang.Object
gov.nasa.pds.tools.util.TableCharacterUtil

public class TableCharacterUtil
extends Object
Util class to allow reading of a record and check for values between fields.
  • Constructor Details

    • TableCharacterUtil

      public TableCharacterUtil​(URL target, ProblemListener listener)
      Creates a new instance.
  • Method Details

    • getTarget

      public URL getTarget()
    • getListener

      public ProblemListener getListener()
    • parseFieldsInfo

      public void parseFieldsInfo()
      Parse the fields info for field_location, field_length and such and store them in lists.
      Parameters:
      None -
    • validateInBetweenFields

      public void validateInBetweenFields​(String record, int recordNumber)
      Validate in between fields for non-blanks values. This test is optional and only call if the user requested it.
      Parameters:
      record - The record being validated (as text)
      recordNumber - Where in the file is this record.