|
|||||||||
| Home >> All >> com >> lutris >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.lutris.http
Class MimeType

java.lang.Objectcom.lutris.http.MimeType
- public class MimeType
- extends java.lang.Object
Class for querying and setting mime types. Provides a default set of well known mime types.
- Version:
- 1.0
| Field Summary | |
(package private) java.util.Hashtable |
types
|
| Constructor Summary | |
MimeType()
Default Constructor |
|
| Method Summary | |
void |
addType(java.lang.String mimeType,
java.lang.String extension)
Register a new mime type. |
java.lang.String |
getType(java.lang.String fileName)
Returns the mime type associated with a file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
types
java.util.Hashtable types
| Constructor Detail |
MimeType
public MimeType()
- Default Constructor
| Method Detail |
addType
public void addType(java.lang.String mimeType, java.lang.String extension)
- Register a new mime type.
getType
public java.lang.String getType(java.lang.String fileName)
- Returns the mime type associated with a file.
|
|||||||||
| Home >> All >> com >> lutris >> [ http overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.lutris.http.MimeType