|
Lizzy v1.1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectchristophedelory.content.type.webapp.MimeMapping
public class MimeMapping
Defines a mapping between a file extension and a MIME type.
| Constructor Summary | |
|---|---|
MimeMapping()
|
|
| Method Summary | |
|---|---|
String |
getExtension()
Returns the corresponding extension. |
String |
getMimeType()
Returns the corresponding MIME type. |
void |
setExtension(String extension)
Initializes the file extension. |
void |
setMimeType(String mimeType)
Initializes the MIME type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MimeMapping()
| Method Detail |
|---|
public String getExtension()
null if not yet initialized.setExtension(java.lang.String)public void setExtension(String extension)
extension - an extension. Shall not be null.
NullPointerException - if extension is null.getExtension()public String getMimeType()
null if not yet initialized.setMimeType(java.lang.String)public void setMimeType(String mimeType)
mimeType - a MIME type. Shall not be null.
NullPointerException - if mimeType is null.getMimeType()
|
© 2008-2009 Christophe Delory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||