Package org.adempiere.base
Interface IGridTabImporter
- All Known Implementing Classes:
GridTabCSVImporter
public interface IGridTabImporter
Interface to import data to
GridTab
.- Author:
- Carlos Ruiz
-
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 delimiterChar, String 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)
-
Method Details
-
fileImport
File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode) Import data from filestream to gridTab- Parameters:
gridTab
-childs
-filestream
-charset
-
-
fileImport
File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, IProcessUI processUI) Import data from filestream to gridTab- Parameters:
gridTab
-childs
-filestream
-charset
-importMode
-processUI
-- Returns:
- File for import log
-
fileImport
File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, String delimiterChar, String quoteChar, IProcessUI processUI) Import data from filestream to gridTab- Parameters:
gridTab
-childs
-filestream
-charset
-importMode
-delimiterChar
-quoteChar
-processUI
-- Returns:
- File for import log
-
getFileExtension
String getFileExtension()- Returns:
- file extension
-
getFileExtensionLabel
String getFileExtensionLabel()- Returns:
- description for file extension
-
getContentType
String getContentType()- Returns:
- mime type
-
getSuggestedFileName
- Returns:
- suggested file name
-