public class

ContentTypes

extends Object
java.lang.Object
   ↳ com.microstrategy.web.blocks.ContentTypes

Class Overview

This class manages the information pertaining to a set of registered Content Types. This information is used to support the construction of content using Tasks and Blocks. All of this information is stored in a single properties file (ContentTypes.properties).

Summary

Nested Classes
class ContentTypes.ContentType This class class defines a ContentType object. 
Public Methods
ContentTypes.ContentType getContentType(String contentType)
Returns the information for the specified content type.
Iterator<String> getContentTypeKeys()
Gets an Iterator of registered content types.
static ContentTypes getInstance()
Gets the singleton instance of this class.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public ContentTypes.ContentType getContentType (String contentType)

Returns the information for the specified content type.

Parameters
contentType The name of the content type. Note that the lookup for content type is done in a case-insensitive manner.
Returns

public Iterator<String> getContentTypeKeys ()

Gets an Iterator of registered content types.

Returns
  • An Iterator of content types (Strings).

public static ContentTypes getInstance ()

Gets the singleton instance of this class.

Returns
  • The singleton instance of this class.