Uses of Class
org.apache.turbine.services.mimetype.util.MimeType

Packages that use MimeType
org.apache.turbine.services.mimetype Provides mapping between MIME types and their corresponding file extensions. 
org.apache.turbine.services.mimetype.util   
 

Uses of MimeType in org.apache.turbine.services.mimetype
 

Methods in org.apache.turbine.services.mimetype that return MimeType
 MimeType TurbineMimeTypeService.getMimeContentType(java.io.File file)
          Gets the MIME content type for a file.
 MimeType TurbineMimeTypeService.getMimeContentType(java.lang.String name)
          Gets the MIME content type for a named file.
 MimeType TurbineMimeTypeService.getMimeContentType(java.lang.String ext, java.lang.String def)
          Gets the MIME content type for a file name extension.
 MimeType MimeTypeService.getMimeContentType(java.io.File file)
          Gets the MIME content type for a file.
 MimeType MimeTypeService.getMimeContentType(java.lang.String name)
          Gets the MIME content type for a named file.
 MimeType MimeTypeService.getMimeContentType(java.lang.String ext, java.lang.String def)
          Gets the MIME content type for a file name extension.
static MimeType TurbineMimeTypes.getMimeContentType(java.io.File file)
          Gets the MIME content type for a file.
static MimeType TurbineMimeTypes.getMimeContentType(java.lang.String name)
          Gets the MIME content type for a named file.
static MimeType TurbineMimeTypes.getMimeContentType(java.lang.String ext, java.lang.String def)
          Gets the MIME content type for a file name extension.
 

Methods in org.apache.turbine.services.mimetype with parameters of type MimeType
 java.lang.String TurbineMimeTypeService.getDefaultExtension(MimeType mime)
          Gets the default file name extension for a MIME type.
 java.lang.String MimeTypeService.getDefaultExtension(MimeType mime)
          Gets the default file name extension for a MIME type.
static java.lang.String TurbineMimeTypes.getDefaultExtension(MimeType mime)
          Gets the default file name extension for a MIME type.
 

Uses of MimeType in org.apache.turbine.services.mimetype.util
 

Fields in org.apache.turbine.services.mimetype.util declared as MimeType
static MimeType MimeTypeMap.DEFAULT_MIMETYPE
          The default MIME type when nothing else is applicable.
static MimeType MimeType.TEXT_HTML
          A list of well known MIME types.
static MimeType MimeType.TEXT_WML
           
static MimeType MimeType.TEXT_HDML
           
static MimeType MimeType.TEXT_CHTML
           
static MimeType MimeType.TEXT_PLAIN
           
static MimeType MimeType.MULTIPART
           
static MimeType MimeType.MULTIPART_FORM_DATA
           
static MimeType MimeType.APPLICATION_POSTSCRIPT
           
static MimeType MimeType.APPLICATION_OCTET_STREAM
           
static MimeType MimeType.APPLICATION_X_JAVA_AGENT
           
static MimeType MimeType.APPLICATION_X_WWW_FORM_URLENCODED
           
static MimeType MimeType.MESSAGE_HTTP
           
static MimeType MimeType.TEXT_CSS
           
static MimeType MimeType.TEXT
           
static MimeType MimeType.IMAGE_GIF
           
static MimeType MimeType.IMAGE_JPEG
           
static MimeType MimeType.IMAGE_WBMP
           
 

Methods in org.apache.turbine.services.mimetype.util that return MimeType
 MimeType MimeTypeMap.getMimeContentType(java.io.File file)
          Gets the MIME content type for a file.
 MimeType MimeTypeMap.getMimeContentType(java.lang.String name)
          Gets the MIME content type for a named file.
 MimeType MimeTypeMap.getMimeContentType(java.lang.String ext, java.lang.String def)
          Gets the MIME content type for a file name extension.
 

Methods in org.apache.turbine.services.mimetype.util with parameters of type MimeType
 java.lang.String MimeTypeMap.getDefaultExtension(MimeType mime)
          Gets the default file name extension for a MIME type.
 int MimeType.match(MimeType other)
          Compares the specified MIME type to this one and returns a matching level: NO_MATCH=types do not match, MATCH_TYPE=types match, MATCH_SPECIFIC_TYPE=types match exactly, MATCH_SUBTYPE=types match, subtypes match too, MATCH_SPECIFIC_SUBTYPE=types match, subtypes match exactly.
 



Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.