Class ColumnMap

java.lang.Object
com.univocity.parsers.common.ColumnMap

public class ColumnMap extends Object
Class responsible for calculating and storing the position of fields parsed from the input.
Author:
Univocity Software Pty Ltd - dev@univocity.com
  • Constructor Details

  • Method Details

    • indexOf

      public int indexOf(String header)
      Returns the position of a header (0 based).
      Parameters:
      header - the header whose position will be returned
      Returns:
      the position of the given header, or -1 if it could not be found.
    • indexOf

      public int indexOf(Enum<?> header)
      Returns the position of a header (0 based).
      Parameters:
      header - the header whose position will be returned
      Returns:
      the position of the given header, or -1 if it could not be found.