Enum AdapterOutputType

java.lang.Object
java.lang.Enum<AdapterOutputType>
ag.smaser.trip.filefilter.AdapterOutputType
All Implemented Interfaces:
Serializable, Comparable<AdapterOutputType>, java.lang.constant.Constable

public enum AdapterOutputType extends Enum<AdapterOutputType>
Enumeration of the standard types of conversion output that the TRIPcof File Filter API supports.
  • Enum Constant Details

    • Original

      public static final AdapterOutputType Original
      The adapter can output the original format.
    • Text

      public static final AdapterOutputType Text
      The adapter can convert files into plain text.
    • Html

      public static final AdapterOutputType Html
      The adapter can render files as HTML.
    • MultipartMime

      public static final AdapterOutputType MultipartMime
      The adapter can render files as multipart MIME documents, a.k.a. web archive files (.mht).
    • Pdf

      public static final AdapterOutputType Pdf
      The adapter can render files as PDF.
    • Xml

      public static final AdapterOutputType Xml
      The adapter can convert files into XML.
  • Method Details

    • values

      public static AdapterOutputType[] 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 AdapterOutputType 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
    • getOutputType

      public int getOutputType()
      The output type as an integer value.