com.atlassian.confluence.pages.persistence.dao
Enum AttachmentDataStreamType

java.lang.Object
  extended by java.lang.Enum<AttachmentDataStreamType>
      extended by com.atlassian.confluence.pages.persistence.dao.AttachmentDataStreamType
All Implemented Interfaces:
Serializable, Comparable<AttachmentDataStreamType>

public enum AttachmentDataStreamType
extends Enum<AttachmentDataStreamType>

An enumeration of the known types of attachment data stream.

Since:
v5.5

Enum Constant Summary
EXTRACTED_TEXT
           
RAW_BINARY
           
 
Method Summary
static AttachmentDataStreamType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttachmentDataStreamType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RAW_BINARY

public static final AttachmentDataStreamType RAW_BINARY

EXTRACTED_TEXT

public static final AttachmentDataStreamType EXTRACTED_TEXT
Method Detail

values

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

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

valueOf

public static AttachmentDataStreamType 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


Copyright © 2003–2015 Atlassian. All rights reserved.