Class DocumentTypes


  • public final class DocumentTypes
    extends Object
    Holds a map with frequently used suffixes of files as keys and grouping them through the values, each value has a visual representation for p:treeNode
    Since:
    7.1.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • DocumentTypes

        public DocumentTypes()
    • Method Detail

      • findTypeByExtension

        public static String findTypeByExtension​(String extension)
        Checks through the above predefined map of supported suffixes
        Parameters:
        extension - the suffix of the given resource
        Returns:
        one of the twelve supported types as a String