@Component(value="blFriendlyHeaderNameMapper") public class FriendlyHeaderNameMapper extends Object implements HeaderNameMapper
AdminPresentation| Modifier and Type | Field and Description |
|---|---|
protected DynamicEntityDaoProvider |
entityDaoProvider |
protected org.springframework.context.MessageSource |
messageSource |
| Constructor and Description |
|---|
FriendlyHeaderNameMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
transformHeader(String header,
ImportType importType)
Transform the given original header from the CSV file import into the system representation of that header.
|
String |
translate(String key) |
protected DynamicEntityDaoProvider entityDaoProvider
protected org.springframework.context.MessageSource messageSource
public String transformHeader(String header, ImportType importType)
HeaderNameMappertransformHeader in interface HeaderNameMapperheader - the header parsed directly from the CSV fileimportType - the type of import that is being performedHeaderNameMapperCopyright © 2020. All rights reserved.