public class ResourceTypeDetector extends Object
Utility static methods for detecting resource types
Constructor and Description |
---|
ResourceTypeDetector() |
Modifier and Type | Method and Description |
---|---|
static IResourceType |
detectTypeFromFilename(String filename)
Detects a type from specified filename and returns an instance of
respective IResourceType
|
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