Package com.axelor.data.csv
Class CSVInput
- java.lang.Object
-
- com.axelor.data.csv.CSVInput
-
- Direct Known Subclasses:
CSVInputJson
public class CSVInput extends Object
-
-
Constructor Summary
Constructors Constructor Description CSVInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
call(T object, Map<String,Object> context)
Map<String,Object>
callPrepareContext(Map<String,Object> context)
List<DataAdapter>
getAdapters()
List<CSVBind>
getBindings()
String
getCallable()
String
getFileName()
String
getHeader()
String
getPrepareContext()
String
getSearch()
String
getSearchCall()
char
getSeparator()
String
getTypeName()
boolean
isUpdate()
Object
postProcess(Object bean)
void
setAdapters(List<DataAdapter> adapters)
void
setBindings(List<CSVBind> bindings)
void
setCallable(String callable)
void
setFileName(String fileName)
void
setHeader(String header)
void
setPrepareContext(String prepareContext)
void
setSearch(String search)
void
setSearchCall(String searchCall)
void
setSeparator(char separator)
void
setTypeName(String typeName)
void
setUpdate(boolean update)
String
toString()
-
-
-
Method Detail
-
getFileName
public String getFileName()
-
setFileName
public void setFileName(String fileName)
-
getHeader
public String getHeader()
-
setHeader
public void setHeader(String header)
-
getTypeName
public String getTypeName()
-
setTypeName
public void setTypeName(String typeName)
-
getSeparator
public char getSeparator()
-
setSeparator
public void setSeparator(char separator)
-
getSearch
public String getSearch()
-
setSearch
public void setSearch(String search)
-
isUpdate
public boolean isUpdate()
-
setUpdate
public void setUpdate(boolean update)
-
getCallable
public String getCallable()
-
setCallable
public void setCallable(String callable)
-
getPrepareContext
public String getPrepareContext()
-
setPrepareContext
public void setPrepareContext(String prepareContext)
-
setSearchCall
public void setSearchCall(String searchCall)
-
getSearchCall
public String getSearchCall()
-
getAdapters
public List<DataAdapter> getAdapters()
-
setAdapters
public void setAdapters(List<DataAdapter> adapters)
-
callPrepareContext
public Map<String,Object> callPrepareContext(Map<String,Object> context) throws Exception
- Throws:
Exception
-
-