Class CSVConfig


@SerializerSource @ConfigurationProperties(prefix="serializers.csv") public class CSVConfig extends AbstractResultSerializerConfig
This class is used to configure the CSV serializer by the properties specified in the application.yml
  • Constructor Details

    • CSVConfig

      public CSVConfig()
  • Method Details

    • getSeparator

      public char getSeparator()
      Get configured column separator. In TSV, separator is '\t', in CSV ','.
      Returns:
      column separator
    • setSeparator

      public void setSeparator(char separator)
      Change column separatr
      Parameters:
      separator - Examples: in TSV, separator is '\t', in CSV ','. Other separators can be used.