Class ContentTypes

  • public class ContentTypes
    extends java.lang.Object
    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 (
    MicroStrategy Web 9.0.0
    • Method Detail

      • getInstance

        public static ContentTypes getInstance()
        Gets the singleton instance of this class.
        The singleton instance of this class.
      • getContentType

        public ContentTypes.ContentType getContentType​(java.lang.String contentType)
        Returns the information for the specified content type.
        contentType - The name of the content type. Note that the lookup for content type is done in a case-insensitive manner.
        A ContentTypes.ContentType object for this content type, if it exists. Otherwise,it returns null.
      • getContentTypeKeys

        public java.util.Iterator<java.lang.String> getContentTypeKeys()
        Gets an Iterator of registered content types.
        An Iterator of content types (Strings).