public String add ( String extension , String mimeType ) { Mapping previous = this . map . put ( extension , new Mapping ( extension , mimeType ) ) ; return ( previous != null ) ? previous . getMimeType ( ) : null ; }
Add a new mime mapping .