Class BeanListProcessor<T>

    • Constructor Detail

      • BeanListProcessor

        public BeanListProcessor​(java.lang.Class<T> beanType)
        Creates a processor that stores java beans of a given type into a list
        Parameters:
        beanType - the class with its attributes mapped to fields of records parsed by an AbstractParser or written by an AbstractWriter.
      • BeanListProcessor

        public BeanListProcessor​(java.lang.Class<T> beanType,
                                 int expectedBeanCount)
        Creates a processor that stores java beans of a given type into a list
        Parameters:
        beanType - the class with its attributes mapped to fields of records parsed by an AbstractParser or written by an AbstractWriter.
        expectedBeanCount - expected number of rows to be parsed from the input which will be converted into java beans. Used to pre-allocate the size of the output List returned by AbstractBeanListProcessor.getBeans()