Package 

Enum QuoteMode

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum QuoteMode
    extends Enum<QuoteMode>
                        

    Defines quoting behavior when printing.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ALL

      Quotes all fields.

      ALL_NON_NULL

      Quotes all non-null fields and fields which contain special characters (such as a the field delimiter, quote character or any of the characters in the line separator string).

      ALL_NON_NUMERIC

      Quotes all non-numeric fields and fields which contain special characters (such as a the field delimiter, quote character or any of the characters in the line separator string).

      MINIMAL

      Quotes fields which contain special characters (such as a the field delimiter, quote character or any of the characters in the line separator string).

      NONE

      Never quotes fields (requires CsvConfig.escapeChar to be set).

    • Method Summary

      Modifier and Type Method Description
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class kotlinx.serialization.csv.config.QuoteMode

        compareTo, equals, finalize, getDeclaringClass, hashCode, toString
      • Methods inherited from class java.lang.Object

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