public final class ModelDefinitionFactory
extends java.lang.Object
ModelDefinitionFactory factory = ModelDefinitionFactory.get() ModelDefinition model = factory.create(PersonDataExcel.class);
| Modifier and Type | Method and Description |
|---|---|
<T> ModelDefinition<T> |
create(java.lang.Class<T> clazz)
Creates ModelDefinition from Class object.
|
static ModelDefinitionFactory |
get() |
public static ModelDefinitionFactory get()
public <T> ModelDefinition<T> create(java.lang.Class<T> clazz)
ExcelSheet will be matched to excel sheets. Cell will be matched to excel column by index.T - Type of destination objectclazz - The class of model destination object.Copyright © 2018. All rights reserved.