Class EntityInstantiator<T>

java.lang.Object
com.github.cla9.excel.reader.worker.EntityInstantiator<T>
Type Parameters:
T - the type parameter

public class EntityInstantiator<T>
extends java.lang.Object
The type Entity instantiator.
  • Constructor Summary

    Constructors 
    Constructor Description
    EntityInstantiator()
    Instantiates a new Entity instantiator.
  • Method Summary

    Modifier and Type Method Description
    <R> EntityInjectionResult<T> createInstance​(java.lang.Class<? extends T> clazz, java.util.List<java.lang.String> excelHeaderNames, ExcelMetaModel excelMetaModel, RowHandler<R> rowHandler)
    Create instance entity injection result.
    void resourceCleanUp()
    Resource clean up.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • createInstance

      public <R> EntityInjectionResult<T> createInstance​(java.lang.Class<? extends T> clazz, java.util.List<java.lang.String> excelHeaderNames, ExcelMetaModel excelMetaModel, RowHandler<R> rowHandler)
      Create instance entity injection result.
      Type Parameters:
      R - the type parameter
      Parameters:
      clazz - the clazz
      excelHeaderNames - the excel header names
      excelMetaModel - the excel meta model
      rowHandler - the row handler
      Returns:
      the entity injection result
    • resourceCleanUp

      public void resourceCleanUp()
      Resource clean up.