Maps an extension to some metadata (media type, language or character
set) to an extension.
Parameters: extension - The extension name. Parameters: metadata - The metadata to map.
Returns the metadata associated to this extension. It returns null if the
extension was not declared.
Parameters: extension - The extension name without any delimiter. The metadata associated to this extension.
setDefaultEncoding
public void setDefaultEncoding(Encoding defaultEncoding)(Code)
Sets the default encoding for local representations.
Parameters: defaultEncoding - The default encoding for local representations.
setDefaultLanguage
public void setDefaultLanguage(Language defaultLanguage)(Code)
Sets the default language for local representations.
Parameters: defaultLanguage - The default language for local representations.
setDefaultMediaType
public void setDefaultMediaType(MediaType defaultMediaType)(Code)
Sets the default media type for local representations.
Parameters: defaultMediaType - The default media type for local representations.