com.groupdocs.editor.htmlcss.resources

Class ResourceTypeDetector



  • public class ResourceTypeDetector
    extends Object

    Utility static methods for detecting resource types

    • Constructor Detail

      • ResourceTypeDetector

        public ResourceTypeDetector()
    • Method Detail

      • detectTypeFromFilename

        public static IResourceType detectTypeFromFilename(String filename)

        Detects a type from specified filename and returns an instance of respective IResourceType

        Parameters:
        filename - Input filename, from which this method will try to extract the resultant IResourceType implementation
        Returns:
        IResourceType implementation on success or NULL on failure