Package org.ametys.odf.skill.imports.csv
Class ImportSkillsCSVFile
java.lang.Object
org.ametys.plugins.contentio.csv.ImportCSVFile
org.ametys.odf.skill.imports.csv.ImportSkillsCSVFile
- 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
-
ImportSkillsCSVFile
public ImportSkillsCSVFile()
-
-
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
-