Class ResourceUtil

java.lang.Object
org.palladiosimulator.simulizar.utils.ResourceUtil

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

    • ResourceUtil

      public ResourceUtil()
  • Method Details

    • createRuntimeMeasurementModelResource

      public static Resource createRuntimeMeasurementModelResource(String storingLocation)
      Creates a runtime measurement model based on the specified path.
      Parameters:
      storingLocation -
      Returns:
      See Also:
    • 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.