org.pentaho.platform.api.engine
Enum IFileInfoGenerator.ContentType

java.lang.Object
  extended by java.lang.Enum<IFileInfoGenerator.ContentType>
      extended by org.pentaho.platform.api.engine.IFileInfoGenerator.ContentType
All Implemented Interfaces:
Serializable, Comparable<IFileInfoGenerator.ContentType>
Enclosing interface:
IFileInfoGenerator

public static enum IFileInfoGenerator.ContentType
extends Enum<IFileInfoGenerator.ContentType>


Enum Constant Summary
BYTES
           
DOM4JDOC
           
INPUTSTREAM
           
STRING
           
 
Method Summary
static IFileInfoGenerator.ContentType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IFileInfoGenerator.ContentType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INPUTSTREAM

public static final IFileInfoGenerator.ContentType INPUTSTREAM

DOM4JDOC

public static final IFileInfoGenerator.ContentType DOM4JDOC

BYTES

public static final IFileInfoGenerator.ContentType BYTES

STRING

public static final IFileInfoGenerator.ContentType STRING
Method Detail

values

public static final IFileInfoGenerator.ContentType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(IFileInfoGenerator.ContentType c : IFileInfoGenerator.ContentType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static IFileInfoGenerator.ContentType 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