Package org.adempiere.impexp
Class GridTabCSVImporter
java.lang.Object
org.adempiere.impexp.GridTabCSVImporter
- All Implemented Interfaces:
IGridTabImporter
CSV Importer for GridTab
- Author:
- Carlos Ruiz, Juan David Arboleda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfileImport
(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode) Import data from filestream to gridTabfileImport
(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, String p_delimiterChar, String p_quoteChar, IProcessUI processUI) Import data from filestream to gridTabfileImport
(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, IProcessUI processUI) Import data from filestream to gridTabgetSuggestedFileName
(GridTab gridTab) boolean
isError()
boolean
void
setError
(boolean error) void
setSingleTrx
(boolean isSingleTrx)
-
Constructor Details
-
GridTabCSVImporter
public GridTabCSVImporter()
-
-
Method Details
-
fileImport
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode) Description copied from interface:IGridTabImporter
Import data from filestream to gridTab- Specified by:
fileImport
in interfaceIGridTabImporter
-
fileImport
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, IProcessUI processUI) Description copied from interface:IGridTabImporter
Import data from filestream to gridTab- Specified by:
fileImport
in interfaceIGridTabImporter
- Returns:
- File for import log
-
fileImport
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, String p_delimiterChar, String p_quoteChar, IProcessUI processUI) Description copied from interface:IGridTabImporter
Import data from filestream to gridTab- Specified by:
fileImport
in interfaceIGridTabImporter
- Returns:
- File for import log
-
getFileExtension
- Specified by:
getFileExtension
in interfaceIGridTabImporter
- Returns:
- file extension
-
getFileExtensionLabel
- Specified by:
getFileExtensionLabel
in interfaceIGridTabImporter
- Returns:
- description for file extension
-
getContentType
- Specified by:
getContentType
in interfaceIGridTabImporter
- Returns:
- mime type
-
getSuggestedFileName
- Specified by:
getSuggestedFileName
in interfaceIGridTabImporter
- Returns:
- suggested file name
-
isError
public boolean isError() -
isSingleTrx
public boolean isSingleTrx() -
setSingleTrx
public void setSingleTrx(boolean isSingleTrx) -
setError
public void setError(boolean error)
-