|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ithit.webdav.server.MimeType
public class MimeType
Provides functionality for getting mime type by file extension.
| Method Summary | |
|---|---|
void |
ExtendTypesTable(java.lang.String extension,
java.lang.String mimeType)
Extends the list of content types or replaces existing value with a new one. |
static MimeType |
getInstance()
|
java.lang.String |
getMimeType(java.lang.String extension)
Returns the mime type corresponding to file extension. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MimeType getInstance()
public void ExtendTypesTable(java.lang.String extension,
java.lang.String mimeType)
extension - File extension.mimeType - File mime type.public java.lang.String getMimeType(java.lang.String extension)
extension - File extension.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||