|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This entry describes all the properties that should be present in a RegistryEntry describing a MediaType FIXME: we should add some additionnal attrbutes for separating 2 versions of the same mime type
| Method Summary | |
void |
addMimetype(String name)
Add MimeType to the MimeType map |
Vector |
getCapabilities()
Returns all supported capablities as CapabilityMap. |
String |
getCharacterSet()
|
String |
getDescription()
Get MediaType description |
int |
getMediatypeId()
Get MediaType ID -- Return ID |
Collection |
getMimetypes()
Returns all supported mimetypes as MimeTypeMap. |
String |
getName()
Get Name of MediaType |
String |
getTitle()
Get Title of MediaType |
void |
removeMimetype(String name)
Removes the MimeType to the MimeType map |
void |
setCapabilities(Vector capabilities)
Set the capabilities |
void |
setCharacterSet(String charSet)
Sets the character set associated with this MediaType |
void |
setDescription(String desc)
Set description of MediaType |
void |
setMediatypeId(int id)
Set MediaType ID -- Assigns ID |
void |
setMimetypes(Collection mimetypes)
Set mime types |
void |
setName(String name)
Set Name of MediaType |
void |
setTitle(String title)
Set MediaType title |
| Method Detail |
public void setMediatypeId(int id)
id - public int getMediatypeId()
public String getCharacterSet()
public void setCharacterSet(String charSet)
public Vector getCapabilities()
CapabilityMap.
The CapabilityMap contains all capabilities in arbitrary
order.
public void setCapabilities(Vector capabilities)
public Collection getMimetypes()
MimeTypeMap.
The MimeTypeMap contains all mimetypes in decreasing
order of importance.
MimeTypeMappublic void setMimetypes(Collection mimetypes)
mimetypes - public void removeMimetype(String name)
name - of MimeType to removepublic void addMimetype(String name)
name - public void setName(String name)
name - Name of MediaTypepublic String getName()
public String getTitle()
public void setTitle(String title)
title - public String getDescription()
public void setDescription(String desc)
desc - Description string
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||