Class ResourceUtil
- java.lang.Object
-
- org.palladiosimulator.simulizar.utils.ResourceUtil
-
public class ResourceUtil extends Object
Util class to create resources.
-
-
Constructor Summary
Constructors Constructor Description ResourceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.static Resource
createRuntimeMeasurementModelResource(String storingLocation)
Creates a runtime measurement model based on the specified path.
-
-
-
Method Detail
-
createRuntimeMeasurementModelResource
public static Resource createRuntimeMeasurementModelResource(String storingLocation)
Creates a runtime measurement model based on the specified path.- Parameters:
storingLocation
-- Returns:
- See Also:
createResourceOf(String, ResourceFactoryImpl, String)
,createResourceOf(String, ResourceFactoryImpl, String)
-
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 resourceresourceFactory
- factory required to create the resourcestoringLocation
- specifies the storing location of the runtime measurement model.- Returns:
- the created resource of the runtime measurement model.
-
-