|
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.gcs.netutil.http.MimeType
MimeType is a class to represent mime type/subtype entities. For example, a MimeType object could be created for the String "text/html", and it would have type "text" and subtype "html".
Constructor Summary | |
MimeType(java.lang.String string)
(constructor) make a MimeType object from a string of the form "type/subtype". |
|
MimeType(java.lang.String type,
java.lang.String subtype)
(constructor) make a MimeType object from a type and subtype |
Method Summary | |
java.lang.String |
getSubtype()
get the subtype of this MimeType |
java.lang.String |
getType()
get the type of this MimeType |
void |
setSubtype(java.lang.String subtype)
set the subtype of this MimeType |
void |
setType(java.lang.String type)
set the type of this MimeType |
java.lang.String |
toString()
get this MimeType as a String of the form "type/subtype" |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MimeType(java.lang.String type, java.lang.String subtype)
public MimeType(java.lang.String string) throws IllegalMimeTypeException
Method Detail |
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getSubtype()
public void setSubtype(java.lang.String subtype)
public java.lang.String toString()
toString
in class java.lang.Object
|
EIP Web Crawler APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |