|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKMimeTypeDefICM
Use this class to represent a MIME type object. This class provides methods to get and set the details of a MIME type.
Field Summary | |
static int |
NONE_ENABLED
|
static int |
STREAMING_ENABLED
|
static int |
TEXT_SEARCH_ENABLED
|
static int |
USER_DEFINED_START_ID
|
Constructor Summary | |
DKMimeTypeDefICM()
Default constructor to construct a new MIME type object. |
Method Summary | |
java.lang.String |
getApplicationFlags()
Gets Application Flags |
java.lang.String |
getApplicationName()
Gets the name of the application that would handle resources which are of this MIME type. |
java.lang.String |
getDisplayName()
Gets the MIME Type object display name |
int |
getId()
Gets MIME Type ID assigned to this MIME type. |
java.lang.String |
getMimeType()
Gets the MIME Type. |
int |
getMimeTypeFlag()
Gets MIME type flag. |
java.lang.String |
getName()
Gets MIME Type object name |
java.lang.String |
getSuffixes()
Gets the MIME Type suffixes. |
void |
setApplicationFlags(java.lang.String applicationFlags)
Sets application flags which is in up to application's interpretation. |
void |
setApplicationName(java.lang.String applicationName)
Sets the name of the application that would handle the resource which are of this MIME type. |
void |
setDisplayName(java.lang.String displayName)
Sets the display name to be assigned to the MIME Type. |
void |
setMimeType(java.lang.String mimeType)
Sets the MIME type. |
void |
setMimeTypeFlag(int mimeTypeFlag)
Sets MIME type flag. |
void |
setName(java.lang.String name)
Sets the name to be assigned to the MIME type. |
void |
setSuffixes(java.lang.String suffixes)
Sets the MIME Type suffixes. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int USER_DEFINED_START_ID
public static final int NONE_ENABLED
public static final int TEXT_SEARCH_ENABLED
public static final int STREAMING_ENABLED
Constructor Detail |
public DKMimeTypeDefICM()
Method Detail |
public int getId()
public void setName(java.lang.String name)
name
- new name to be set to this MIME type bjectsetDisplayName
public java.lang.String getName()
public void setDisplayName(java.lang.String displayName)
displayName
- new display name to be set to this MIME type bjectpublic java.lang.String getDisplayName()
public void setMimeType(java.lang.String mimeType)
mimeType
- new MIME type to be setpublic java.lang.String getMimeType()
public void setSuffixes(java.lang.String suffixes)
suffixes
- new suffixes to be set to this MIME type bjectpublic java.lang.String getSuffixes()
public void setMimeTypeFlag(int mimeTypeFlag)
NONE_ENABLED
(0)TEXT_SEARCH_ENABLED
(1)STREAMING_ENABLED
(2)mimeTypeFlag
- new MIME type flag to be setpublic int getMimeTypeFlag()
NONE_ENABLED
(0)TEXT_SEARCH_ENABLED
(1)STREAMING_ENABLED
(2)public void setApplicationName(java.lang.String applicationName)
applicationName
- new application name to be set to this MIME type bjectpublic java.lang.String getApplicationName()
public void setApplicationFlags(java.lang.String applicationFlags)
applicationFlags
- new application flags to be set to this MIME type bjectpublic java.lang.String getApplicationFlags()
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |