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

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