org.littleshoot.util
Interface MimeType


public interface MimeType

Interface for classes that can determine the MIME type of a file name.


Method Summary
 String getMimeType(String fileName)
          Returns the MIME type associated with a file name.
 

Method Detail

getMimeType

String getMimeType(String fileName)
Returns the MIME type associated with a file name.

Parameters:
fileName - The file name.
Returns:
The MIME type.


Copyright © 2011-2013 LittleShoot. All Rights Reserved.