Package ag.smaser.trip.filefilter
Enum AdapterOutputType
- All Implemented Interfaces:
Serializable
,Comparable<AdapterOutputType>
,java.lang.constant.Constable
Enumeration of the standard types of conversion output that the
TRIPcof File Filter API supports.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe adapter can render files as HTML.The adapter can render files as multipart MIME documents, a.k.a. web archive files (.mht).The adapter can output the original format.The adapter can render files as PDF.The adapter can convert files into plain text.The adapter can convert files into XML. -
Method Summary
Modifier and TypeMethodDescriptionint
The output type as an integer value.static AdapterOutputType
Returns the enum constant of this type with the specified name.static AdapterOutputType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Original
The adapter can output the original format. -
Text
The adapter can convert files into plain text. -
Html
The adapter can render files as HTML. -
MultipartMime
The adapter can render files as multipart MIME documents, a.k.a. web archive files (.mht). -
Pdf
The adapter can render files as PDF. -
Xml
The adapter can convert files into XML.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getOutputType
public int getOutputType()The output type as an integer value.
-