Package com.jk.web.embedded.spring
Class MimeMappings.Mapping
java.lang.Object
com.jk.web.embedded.spring.MimeMappings.Mapping
- Enclosing class:
 - MimeMappings
 
This class represents a single mapping of a file extension to a MIME type.
- Version:
 - 1.0
 - Author:
 - Dr. Jalal H. Kiswani
 
- 
Constructor Details
- 
Mapping
This method constructs a new with the provided extension and MIME type.- Parameters:
 extension- Specifies the file extension.mimeType- Specifies the MIME type associated with the extension.
 
 - 
 - 
Method Details
- 
getExtension
This method retrieves the file extension.- Returns:
 - the file extension.
 
 - 
getMimeType
This method retrieves the MIME type associated with the extension.- Returns:
 - the MIME type associated with the extension.
 
 - 
hashCode
public int hashCode() - 
equals
 - 
toString
 
 -