dojox/mobile/dh/PatternFileTypeMap (version 1.10)

Summary

A component that provides a map for determining content-type from the pattern of the URL.

Property Summary

Method Summary

  • add(key,contentType) Adds a handler class for the given content type.
  • getContentType(fileName) Returns the handler class for the given content type.

Properties

Methods

add(key,contentType)

Adds a handler class for the given content type.

Parameter Type Description
key String
contentType String
getContentType(fileName)

Returns the handler class for the given content type.

Parameter Type Description
fileName String
Error in the documentation? Can’t find what you are looking for? Let us know!