Class ContentDisposition

java.lang.Object
com.independentsoft.email.mime.ContentDisposition

public class ContentDisposition extends Object
Class ContentDisposition.
  • Constructor Details

    • ContentDisposition

      public ContentDisposition()
      Initializes a new instance of the ContentDisposition class.
    • ContentDisposition

      public ContentDisposition(ContentDispositionType type)
      Initializes a new instance of the ContentDisposition class.
      Parameters:
      type - The type.
    • ContentDisposition

      public ContentDisposition(String contentDisposition)
      Initializes a new instance of the ContentDisposition class.
      Parameters:
      contentDisposition - The content disposition.
  • Method Details

    • toString

      public String toString()
      Returns a String that represents this instance.
      Overrides:
      toString in class Object
      Returns:
      A String that represents this instance.
    • getType

      public ContentDispositionType getType()
      Gets the type.
      Returns:
      The type.
    • setType

      public void setType(ContentDispositionType type)
      Sets the type.
      Parameters:
      type - The type.
    • getParameters

      public ParameterList getParameters()
      Gets the parameters.
      Returns:
      The parameters.