Zimlet JavaScript API Reference - ZmMimeTable

Class ZmMimeTable


This class represents a mime table that contains utility methods for managing mime types.

Defined in: ZmMimeTable.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates the mime table class
Method Summary
Method Attributes Method Name and Description
<static>  
ZmMimeTable.hasHtmlVersion(type)
Checks if the type has an HTML version.
<static>  
ZmMimeTable.isIgnored(type)
Checks if the type is ignored.
<static>  
ZmMimeTable.isRenderable(type, textOnly)
Checks if the type is renderable.
<static>  
ZmMimeTable.isRenderableImage(type)
Checks if the type is a renderable image.
<static>  
ZmMimeTable.isVcard(type)
Checks if the type is a vCard.
Class Detail
ZmMimeTable()
Creates the mime table class
Method Detail
<static> {Boolean} ZmMimeTable.hasHtmlVersion(type)
Checks if the type has an HTML version.
Parameters:
{constant} type
the type
Returns:
{Boolean} true if the type has an HTML version

<static> {Boolean} ZmMimeTable.isIgnored(type)
Checks if the type is ignored.
Parameters:
{constant} type
the type
Returns:
{Boolean} true if the type is ignored

<static> {Boolean} ZmMimeTable.isRenderable(type, textOnly)
Checks if the type is renderable.
Parameters:
{constant} type
the type
textOnly
Returns:
{Boolean} true if the type is renderable

<static> {Boolean} ZmMimeTable.isRenderableImage(type)
Checks if the type is a renderable image.
Parameters:
{constant} type
the type
Returns:
{Boolean} true if the type is a renderable image

<static> {Boolean} ZmMimeTable.isVcard(type)
Checks if the type is a vCard.
Parameters:
{constant} type
the type
Returns:
{Boolean} true if the type is a vCard

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:35 GMT-0400 (EDT)