    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

##

Utils()

##

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

##

Utils

     public Utils()

##

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.

getMimeType

     public static MimeType getMimeType(String filename)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index