All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.www.mime.Utils

java.lang.Object
   |
   +----org.w3c.www.mime.Utils

public class Utils
extends Object

Constructor Index

 o Utils()

Method Index

 o getMimeType(String)
 o guessContentTypeFromName(String)
A useful utility routine that tries to guess the content-type of an object based upon its extension.

Constructors

 o Utils
 public Utils()

Methods

 o guessContentTypeFromName
 public static String guessContentTypeFromName(String fname)
A useful utility routine that tries to guess the content-type of an object based upon its extension.

 o getMimeType
 public static MimeType getMimeType(String filename)

All Packages  Class Hierarchy  This Package  Previous  Next  Index