|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The MimeTypeMap interface represents a list that
stores all mimetypes a client supports. The mimetypes are stored
in decreasing order of importance. The very first mimetype is the
preferred mimetype of the client.
| Method Summary | |
void |
addMimetype(java.lang.String name)
Adds the given mimetype |
java.util.Iterator |
getMimetypes()
Returns an enumeration of all mimetypes the client supports. |
MimeType |
getPreferredMimetype()
Returns the preferred mimetype of the client. |
void |
removeMimetype(java.lang.String name)
Removes the given mimetype |
| Method Detail |
public java.util.Iterator getMimetypes()
public MimeType getPreferredMimetype()
public void addMimetype(java.lang.String name)
name - the name of the mimetypepublic void removeMimetype(java.lang.String name)
name - the mimetype to be removed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||