Class CsvAnnotation

java.lang.Object
org.apache.juneau.csv.annotation.CsvAnnotation

public class CsvAnnotation extends Object
Utility classes and methods for the @Csv annotation.
See Also:
  • Field Details

    • DEFAULT

      public static final Csv DEFAULT
      Default value
  • Constructor Details

  • Method Details

    • create

      public static CsvAnnotation.Builder create()
      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • create

      public static CsvAnnotation.Builder create(Class<?>... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • create

      public static CsvAnnotation.Builder create(String... on)
      Instantiates a new builder for this class.
      Parameters:
      on - The targets this annotation applies to.
      Returns:
      A new builder object.
    • copy

      public static Csv copy(Csv a, VarResolverSession r)
      Creates a copy of the specified annotation.
      Parameters:
      a - The annotation to copy.s
      r - The var resolver for resolving any variables.
      Returns:
      A copy of the specified annotation.