Class CSVExportSettings

java.lang.Object
ca.phon.app.csv.CSVExportSettings

public class CSVExportSettings extends Object
Configuration settings for CSV export operations. Contains column mappings, formatting options, and export parameters.
  • Field Details

  • Constructor Details

    • CSVExportSettings

      public CSVExportSettings(char separator, CSVQuoteType quoteType, String encoding, boolean useFirstRowAsHeader)
  • Method Details

    • addTier

      public void addTier(CSVColumnType type, int columnIndex)
    • getUserTiers

      public Map<String,Integer> getUserTiers()
    • addUserTier

      public void addUserTier(String tierName, int tierTierIndex)
    • isUseFirstRowAsHeader

      public boolean isUseFirstRowAsHeader()
    • setUseFirstRowAsHeader

      public void setUseFirstRowAsHeader(boolean useFirstRowAsHeader)
    • getExportColumnList

      public List<CSVColumn> getExportColumnList()
    • setExportColumnList

      public void setExportColumnList(List<CSVColumn> columnList)
    • getSeparator

      public char getSeparator()
      Get the CSV separator character.
      Returns:
      the separator character
    • getQuoteType

      public CSVQuoteType getQuoteType()
      Get the CSV quote type.
      Returns:
      the quote type
    • isTrimSpaces

      public boolean isTrimSpaces()
      Check if spaces should be trimmed.
      Returns:
      true if spaces should be trimmed
    • getEncoding

      public String getEncoding()
      Get the encoding.
      Returns:
      the encoding