public final class ContentFormat extends Enum
Modifier and Type | Field and Description |
---|---|
static ContentFormat |
BINARY
Indicates that the format is binary.
|
static ContentFormat |
UTF8
Indicates that the format is UTF8.
|
Modifier and Type | Method and Description |
---|---|
static ContentFormat |
getEnum(java.lang.String name)
Returns the enumeration with the supplied name or
null if
no enumeration exists for the supplied name. |
static ContentFormat[] |
getValues()
Returns an array containing all the valid values for this enumeration class.
|
public static final ContentFormat UTF8
public static final ContentFormat BINARY
public static ContentFormat getEnum(java.lang.String name)
null
if
no enumeration exists for the supplied name.name
- the enumeration namenull
public static ContentFormat[] getValues()
(C) Copyright IBM Corp. 1994, 2015. All Rights Reserved.