|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<ContentType>
oracle.as.scheduler.request.ContentType
public enum ContentType
Types of content stored in the content store.
Enum Constant Summary | |
---|---|
Binary Binary content. |
|
Text Text content. |
|
Unknown Unknown content type. |
Method Summary | |
---|---|
static ContentType |
fromString(java.lang.String contentTypeStr) Converts a stringified content type into a ContentType object. |
java.lang.String |
toString(java.util.Locale locale) |
int |
value() Returns the numeric value of the content type. |
static ContentType |
valueOf(int value) Returns the content type for the given value. |
static ContentType |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static ContentType[] |
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 |
---|
public static final ContentType Unknown
public static final ContentType Text
public static final ContentType Binary
Method Detail |
---|
public static ContentType[] values()
for (ContentType c : ContentType.values()) System.out.println(c);
public static ContentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static ContentType valueOf(int value)
value
- numeric value to convert to content type.public static ContentType fromString(java.lang.String contentTypeStr)
contentTypeStr
-contentTypeStr
or ContentType.Unknown if the conversion could not be made.public java.lang.String toString(java.util.Locale locale)
|
Oracle Enterprise Scheduler Java API Reference 11g Release 1 (11.1.1.7) E26229-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |