Enum FeedDataTrim

java.lang.Object
java.lang.Enum<FeedDataTrim>
org.instancio.settings.FeedDataTrim
All Implemented Interfaces:
Serializable, Comparable<FeedDataTrim>, java.lang.constant.Constable

@ExperimentalApi public enum FeedDataTrim extends Enum<FeedDataTrim>
Enumeration representing the options for trimming data in a feed.
Since:
5.0.0
  • Enum Constant Details

    • NONE

      public static final FeedDataTrim NONE
      No trimming is performed on the data.
      Since:
      5.0.0
    • UNQUOTED

      public static final FeedDataTrim UNQUOTED
      Unquoted data is trimmed of leading and trailing whitespace, for example when using data in CSV format.
      Since:
      5.0.0
  • Method Details

    • values

      public static FeedDataTrim[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FeedDataTrim valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null