Package fr.gouv.vitam.collect.internal.core.csv

# Class CsvHelper

java.lang.Object
fr.gouv.vitam.collect.internal.core.csv.CsvHelper

public class CsvHelper extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `convertCsvToJsonlMetadataFile(SedaSchemaInfoResolver sedaSchemaInfoResolver, InputStream is, File metadataFile, boolean isFirstUpload, boolean explicitAttachementMode)`
  `static org.apache.commons.csv.CSVParser`
  `createParser(InputStream is)`
  `static String`
  `sanitizeStringForLog(String uploadPath, int maxLength)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### convertCsvToJsonlMetadataFile

    public static void convertCsvToJsonlMetadataFile(SedaSchemaInfoResolver sedaSchemaInfoResolver, InputStream is, File metadataFile, boolean isFirstUpload, boolean explicitAttachementMode) throws IOException, CollectInvalidCsvFormatException
    Throws:
      `IOException`
      `CollectInvalidCsvFormatException`

  - ### createParser

    public static org.apache.commons.csv.CSVParser createParser(InputStream is) throws IOException
    Throws:
      `IOException`

  - ### sanitizeStringForLog

    public static String sanitizeStringForLog(String uploadPath, int maxLength)