All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.net.codinux.csv.reader.CommentStrategy.kt Maven / Gradle / Ivy

Go to download

Port of FastCSV, an ultra fast and simple RFC 4180 compliant CSV library, for Kotlin Multiplatform

The newest version!
package net.codinux.csv.reader

/**
 * This strategy is used for handling comments in (non RFC conforming) CSV data.
 */
enum class CommentStrategy {
  /**
   * Don't detect comments - handle everything as regular cell content.
   */
  NONE,

  /**
   * Detect comments but do not return commented lines.
   */
  SKIP,

  /**
   * Detect and return the commented lines (entire line as one field).
   * The comment character itself will be stripped.
   */
  READ
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy