Class ResourceUtil


  • public class ResourceUtil
    extends Object
    Util class to create resources.
    • Constructor Detail

      • ResourceUtil

        public ResourceUtil()
    • Method Detail

      • createResourceOf

        public static Resource createResourceOf​(String fileExt,
                                                ResourceFactoryImpl resourceFactory,
                                                String storingLocation)
        Creates a resource of a model based on the specified path, file extension and resource factory.
        Parameters:
        fileExt - file extension of the created resource
        resourceFactory - factory required to create the resource
        storingLocation - specifies the storing location of the runtime measurement model.
        Returns:
        the created resource of the runtime measurement model.