Class ColumnMap


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int indexOf​(java.lang.Enum<?> header)
      Returns the position of a header (0 based).
      int indexOf​(java.lang.String header)
      Returns the position of a header (0 based).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • indexOf

        public int indexOf​(java.lang.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​(java.lang.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.