Package org.adempiere.impexp
Class GridTabCSVImporter
- java.lang.Object
-
- org.adempiere.impexp.GridTabCSVImporter
-
- All Implemented Interfaces:
IGridTabImporter
public class GridTabCSVImporter extends Object implements IGridTabImporter
CSV Importer for GridTab- Author:
- Carlos Ruiz, Juan David Arboleda
-
-
Constructor Summary
Constructors Constructor Description GridTabCSVImporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode)
export gridTab data to fileFile
fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, IProcessUI processUI)
export gridTab data to fileString
getContentType()
String
getFileExtension()
String
getFileExtensionLabel()
String
getSuggestedFileName(GridTab gridTab)
boolean
isError()
boolean
isSingleTrx()
void
setError(boolean error)
void
setSingleTrx(boolean isSingleTrx)
-
-
-
Method Detail
-
fileImport
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode)
Description copied from interface:IGridTabImporter
export gridTab data to file- 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
export gridTab data to file- Specified by:
fileImport
in interfaceIGridTabImporter
- Returns:
-
getFileExtension
public String getFileExtension()
- Specified by:
getFileExtension
in interfaceIGridTabImporter
- Returns:
- file extension
-
getFileExtensionLabel
public String getFileExtensionLabel()
- Specified by:
getFileExtensionLabel
in interfaceIGridTabImporter
- Returns:
- description for file extension
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceIGridTabImporter
- Returns:
- mime type
-
getSuggestedFileName
public String getSuggestedFileName(GridTab gridTab)
- 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)
-
-