Package com.independentsoft.email.mime

# Enum Class ContentTransferEncoding

java.lang.Object
java.lang.Enum<ContentTransferEncoding>
com.independentsoft.email.mime.ContentTransferEncoding

All Implemented Interfaces:
  `Serializable`, `Comparable<ContentTransferEncoding>`, `Constable`

public enum ContentTransferEncoding extends Enum<ContentTransferEncoding>
Specifies the Content-Transfer-Encoding header information for an e-mail message attachment.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `BASE64`
  `BINARY`
  `EIGHT_BIT`
  `IETF_TOKEN`
  `QUOTED_PRINTABLE`
  `SEVEN_BIT`
  `X_TOKEN`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static ContentTransferEncoding`
  `valueOf​(String name)`
  Returns the enum constant of this class with the specified name.
  `static ContentTransferEncoding[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## Enum Constant Details

  - ### SEVEN_BIT

    public static final ContentTransferEncoding SEVEN_BIT

  - ### EIGHT_BIT

    public static final ContentTransferEncoding EIGHT_BIT

  - ### BASE64

    public static final ContentTransferEncoding BASE64

  - ### BINARY

    public static final ContentTransferEncoding BINARY

  - ### QUOTED_PRINTABLE

    public static final ContentTransferEncoding QUOTED_PRINTABLE

  - ### IETF_TOKEN

    public static final ContentTransferEncoding IETF_TOKEN

  - ### X_TOKEN

    public static final ContentTransferEncoding X_TOKEN

- ## Method Details

  - ### values

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

  - ### valueOf

    public static ContentTransferEncoding valueOf​(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      `NullPointerException` - if the argument is null