Package org.ametys.plugins.contentio.csv
Class ImportReferenceTablesCSVFile
java.lang.Object
org.ametys.plugins.contentio.csv.ImportCSVFile
org.ametys.plugins.contentio.csv.ImportReferenceTablesCSVFile
- All Implemented Interfaces:
Component
,Contextualizable
,Serviceable
Import contents from an uploaded CSV file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.ametys.plugins.contentio.csv.ImportCSVFile
contextualize, service
-
Field Details
-
ROLE
Avalon Role
-
-
Constructor Details
-
ImportReferenceTablesCSVFile
public ImportReferenceTablesCSVFile()
-
-
Method Details
-
importCSVFile
public Map importCSVFile(String escapingChar, String separatingChar, String contentTypeId, Part part) throws Exception Import CSV file- Overrides:
importCSVFile
in classImportCSVFile
- Parameters:
escapingChar
- The escaping characterseparatingChar
- The separating charactercontentTypeId
- The content type idpart
- The CSV file's Part- Returns:
- The result of the import
- Throws:
Exception
- If an error occurs
-