Class MultiBeanListProcessor

    • Constructor Detail

      • MultiBeanListProcessor

        public MultiBeanListProcessor​(int expectedBeanCount,
                                      java.lang.Class... beanTypes)
        Creates a processor for java beans of multiple types
        Parameters:
        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 AbstractMultiBeanListProcessor.getBeans()
        beanTypes - the classes with their attributes mapped to fields of records parsed by an AbstractParser or written by an AbstractWriter.
      • MultiBeanListProcessor

        public MultiBeanListProcessor​(java.lang.Class... beanTypes)
        Creates a processor for java beans of multiple types
        Parameters:
        beanTypes - the classes with their attributes mapped to fields of records parsed by an AbstractParser or written by an AbstractWriter.