Class QuoteStrategies


  • public final class QuoteStrategies
    extends java.lang.Object
    Provides some common QuoteStrategy implementations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static QuoteStrategy ALWAYS
      Enclose any field with quotes regardless of its content (even empty and null fields).
      static QuoteStrategy EMPTY
      Enclose empty but not @{code null} fields to differentiate them.
      static QuoteStrategy NON_EMPTY
      Enclose any field with quotes if it has content (is not empty or null).
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private QuoteStrategies()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ALWAYS

        public static final QuoteStrategy ALWAYS
        Enclose any field with quotes regardless of its content (even empty and null fields).
      • NON_EMPTY

        public static final QuoteStrategy NON_EMPTY
        Enclose any field with quotes if it has content (is not empty or null).
      • EMPTY

        public static final QuoteStrategy EMPTY
        Enclose empty but not @{code null} fields to differentiate them. This is required for PostgreSQL CSV imports, for example.
    • Constructor Detail

      • QuoteStrategies

        private QuoteStrategies()