Class ImportSkillsCSVFile

java.lang.Object
org.ametys.plugins.contentio.csv.ImportCSVFile
org.ametys.odf.skill.imports.csv.ImportSkillsCSVFile
All Implemented Interfaces:
Component, Contextualizable, Serviceable

public class ImportSkillsCSVFile extends ImportCSVFile
Import contents from an uploaded CSV file.
  • Field Details

    • ROLE

      public static final String ROLE
      Avalon Role
  • Constructor Details

  • Method Details

    • importCSVFile

      public Map importCSVFile(String escapingChar, String separatingChar, String contentTypeId, Part part) throws Exception
      Import CSV file
      Overrides:
      importCSVFile in class ImportCSVFile
      Parameters:
      escapingChar - The escaping character
      separatingChar - The separating character
      contentTypeId - The content type id
      part - The CSV file's Part
      Returns:
      The result of the import
      Throws:
      Exception - If an error occurs