A C D E G H I L M N O P R S T

A

addParameter(String, String) - Method in class org.apache.fulcrum.mimetype.util.MimeType
Adds a parameter to the MIME type.
addParameters(String[], String[]) - Method in class org.apache.fulcrum.mimetype.util.MimeType
Adds parameters to the MIME type.
APPLICATION_OCTET_STREAM - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
APPLICATION_POSTSCRIPT - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
APPLICATION_X_JAVA_AGENT - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
APPLICATION_X_WWW_FORM_URLENCODED - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 

C

CHARSET_RESOURCE - Static variable in class org.apache.fulcrum.mimetype.util.CharSetMap
The name for charset mapper resources.
CharSetMap - Class in org.apache.fulcrum.mimetype.util
This class maintains a set of mappers defining mappings between locales and the corresponding charsets.
CharSetMap() - Constructor for class org.apache.fulcrum.mimetype.util.CharSetMap
Constructs a new charset map with default mappers.
CharSetMap(Properties) - Constructor for class org.apache.fulcrum.mimetype.util.CharSetMap
Contructs a charset map from properties.
CharSetMap(InputStream) - Constructor for class org.apache.fulcrum.mimetype.util.CharSetMap
Contructs a charset map read from a stream.
CharSetMap(File) - Constructor for class org.apache.fulcrum.mimetype.util.CharSetMap
Contructs a charset map read from a property file.
CharSetMap(String) - Constructor for class org.apache.fulcrum.mimetype.util.CharSetMap
Contructs a charset map read from a property file path.
CHARSETS - Static variable in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
The charset file property.
configure(Configuration) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Avalon component lifecycle method
contextualize(Context) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
 

D

DEFAULT_CHARSET - Static variable in class org.apache.fulcrum.mimetype.util.CharSetMap
The default charset when nothing else is applicable.
DEFAULT_MIMETYPE - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
The default MIME type when nothing else is applicable.
DEFAULT_TYPE - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
The default MIME type as a string.
DefaultMimeTypeService - Class in org.apache.fulcrum.mimetype
The MimeType Service maintains mappings between MIME types and the corresponding file name extensions, and between locales and character encodings.
DefaultMimeTypeService() - Constructor for class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Constructs a new service.

E

EXT_CHTML - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_GIF - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_HDM - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_HDML - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_HTM - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_HTML - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Common MIME type extensions.
EXT_JPEG - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_JPG - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_TEXT - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_WBMP - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
EXT_WML - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
 
extensionMimeTypes - Variable in class org.apache.fulcrum.mimetype.util.MimeTypeMapper
 

G

getCharSet(Locale) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the charset for a locale.
getCharSet(Locale, String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the charset for a locale with a variant.
getCharSet(String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the charset for a specified key.
getCharSet(String, String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the charset for a specified key.
getCharSet(Locale) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the charset for a locale.
getCharSet(Locale, String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the charset for a locale with a variant.
getCharSet(String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the charset for a specified key.
getCharSet(String, String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the charset for a specified key.
getCharSet(Locale) - Method in class org.apache.fulcrum.mimetype.util.CharSetMap
Gets the charset for a locale.
getCharSet(Locale, String) - Method in class org.apache.fulcrum.mimetype.util.CharSetMap
Gets the charset for a locale with a variant.
getCharSet(String) - Method in class org.apache.fulcrum.mimetype.util.CharSetMap
Gets the charset for a specified key.
getCharSet(String, String) - Method in class org.apache.fulcrum.mimetype.util.CharSetMap
Gets the charset for a specified key.
getContentType(File) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the MIME content type for a file as a string.
getContentType(String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the MIME content type for a named file as a string.
getContentType(String, String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the MIME content type for a file name extension as a string.
getContentType(File) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the MIME content type for a file as a string.
getContentType(String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the MIME content type for a named file as a string.
getContentType(String, String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the MIME content type for a file name extension as a string.
getContentType(File) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the MIME content type for a file as a string.
getContentType(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the MIME content type for a named file as a string.
getContentType(String, String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the MIME content type for a file name extension as a string.
getContentType(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Gets a MIME content type corresponding to a specified file name extension.
getDefaultExtension(String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the default file name extension for a MIME type.
getDefaultExtension(MimeType) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the default file name extension for a MIME type.
getDefaultExtension(String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the default file name extension for a MIME type.
getDefaultExtension(MimeType) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the default file name extension for a MIME type.
getDefaultExtension(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the default file name extension for a MIME type.
getDefaultExtension(MimeType) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the default file name extension for a MIME type.
getExtension(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Gets a file name extension corresponding to a specified MIME content type.
getMimeContentType(File) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the MIME content type for a file.
getMimeContentType(String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the MIME content type for a named file.
getMimeContentType(String, String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Gets the MIME content type for a file name extension.
getMimeContentType(File) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the MIME content type for a file.
getMimeContentType(String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the MIME content type for a named file.
getMimeContentType(String, String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Gets the MIME content type for a file name extension.
getMimeContentType(File) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the MIME content type for a file.
getMimeContentType(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the MIME content type for a named file.
getMimeContentType(String, String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Gets the MIME content type for a file name extension.
getParameter(String) - Method in class org.apache.fulcrum.mimetype.util.MimeType
Gets the value of a MIME type parameter.
getSubtype() - Method in class org.apache.fulcrum.mimetype.util.MimeType
Gets the subtype of the MIME type.
getType() - Method in class org.apache.fulcrum.mimetype.util.MimeType
Gets the main type of the MIME type.
getTypes() - Method in class org.apache.fulcrum.mimetype.util.MimeType
Gets the type and the subtype of the MIME type.

H

hasParameter(String) - Method in class org.apache.fulcrum.mimetype.util.MimeType
Checks whether the MIME type contains the specified parameter.

I

IMAGE_GIF - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
IMAGE_JPEG - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
IMAGE_PNG - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
IMAGE_WBMP - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
initialize() - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Avalon component lifecycle method

L

loadFile(File) - Static method in class org.apache.fulcrum.mimetype.util.CharSetMap
Loads mappings from a file.
loadPath(String) - Static method in class org.apache.fulcrum.mimetype.util.CharSetMap
Loads mappings from a file path.
loadPath(String) - Static method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Loads mappings from a file path.
loadResource(String) - Static method in class org.apache.fulcrum.mimetype.util.CharSetMap
Loads mappings from a resource.
loadResource(String) - Static method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Loads mappings from a resource.
loadStream(InputStream) - Static method in class org.apache.fulcrum.mimetype.util.CharSetMap
Loads mappings from a stream.

M

match(MimeType) - Method in class org.apache.fulcrum.mimetype.util.MimeType
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.
MATCH_SPECIFIC_SUBTYPE - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
MATCH_SUBTYPE - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
MATCH_TYPE - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
MESSAGE_HTTP - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
MIME_TYPES - Static variable in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
The MIME type file property.
MimeType - Class in org.apache.fulcrum.mimetype.util
This class is used to represent parsed MIME types.
MimeType(String) - Constructor for class org.apache.fulcrum.mimetype.util.MimeType
Constructs a new MIME type by parsing a specification string.
MimeType(String, boolean) - Constructor for class org.apache.fulcrum.mimetype.util.MimeType
Constructs a new MIME type by parsing a specification string.
MimeType(String, String) - Constructor for class org.apache.fulcrum.mimetype.util.MimeType
Contructs a new MIME type from specified types.
MimeType(String, String, String[], String[]) - Constructor for class org.apache.fulcrum.mimetype.util.MimeType
Contructs a new MIME type from specified parameters.
MIMETYPE_RESOURCE - Static variable in class org.apache.fulcrum.mimetype.util.MimeTypeMap
The name for MIME type mapper resources.
MimeTypeMap - Class in org.apache.fulcrum.mimetype.util
This class maintains a set of mappers defining mappings between MIME types and the corresponding file name extensions.
MimeTypeMap() - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMap
Constructs a new MIME type map with default mappers.
MimeTypeMap(InputStream) - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMap
Contructs a MIME type map read from a stream.
MimeTypeMap(File) - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMap
Contructs a MIME type map read from a file.
MimeTypeMap(String) - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMap
Contructs a MIME type map read from a file path.
MimeTypeMapper - Class in org.apache.fulcrum.mimetype.util
This class defines mappings between MIME types and the corresponding file name extensions.
MimeTypeMapper() - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Constructs an empty MIME type mapper.
MimeTypeMapper(InputStream) - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Constructs a mapper reading from a stream.
MimeTypeMapper(File) - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Constructs a mapper reading from a file.
MimeTypeMapper(String) - Constructor for class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Constructs a mapper reading from a file path.
MimeTypeService - Interface in org.apache.fulcrum.mimetype
The MimeType Service maintains mappings between MIME types and the corresponding file name extensions, and between locales and character encodings.
MULTIPART - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
MULTIPART_FORM_DATA - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 

N

NO_MATCH - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
MIME type matching constants.

O

org.apache.fulcrum.mimetype - package org.apache.fulcrum.mimetype
 
org.apache.fulcrum.mimetype.util - package org.apache.fulcrum.mimetype.util
 

P

parse(BufferedReader) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Parses MIME type extensions.
parseMimeTypeExtension(String, Map, Map) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Parses a MIME type extension.

R

ROLE - Static variable in interface org.apache.fulcrum.mimetype.MimeTypeService
Avalon role - used to id the component within the manager

S

setCharSet(String, String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Sets a locale-charset mapping.
setCharSet(String, String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Sets a locale-charset mapping.
setCharSet(String, String) - Method in class org.apache.fulcrum.mimetype.util.CharSetMap
Sets a locale-charset mapping.
setCommonCharSet(String, String) - Method in class org.apache.fulcrum.mimetype.util.CharSetMap
Sets a common locale-charset mapping.
setCommonContentType(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Sets a common MIME content type mapping to extensions.
setContentType(String) - Method in class org.apache.fulcrum.mimetype.DefaultMimeTypeService
Sets a MIME content type mapping to extensions to the map.
setContentType(String) - Method in interface org.apache.fulcrum.mimetype.MimeTypeService
Sets a MIME content type mapping to extensions to the map.
setContentType(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMap
Sets a MIME content type mapping to extensions.
setContentType(String) - Method in class org.apache.fulcrum.mimetype.util.MimeTypeMapper
Sets a MIME content type mapping to extensions.
setParameter(String, String) - Method in class org.apache.fulcrum.mimetype.util.MimeType
Sets the value of a MIME type parameter replacing the old one.

T

TEXT - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
TEXT_CHTML - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
TEXT_CSS - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
TEXT_HDML - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
TEXT_HTML - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
A list of well known MIME types.
TEXT_PLAIN - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
TEXT_WML - Static variable in class org.apache.fulcrum.mimetype.util.MimeType
 
toString() - Method in class org.apache.fulcrum.mimetype.util.MimeType
Converts the MIME type into a string.

A C D E G H I L M N O P R S T

Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.