Class ScenarioUtils


  • public class ScenarioUtils
    extends Object
    Provides access to the scenario directory.
    Author:
    Eric Tatara
    • Constructor Detail

      • ScenarioUtils

        public ScenarioUtils()
    • Method Detail

      • getScenarioDir

        public static File getScenarioDir()
      • setScenarioDir

        public static void setScenarioDir​(File dir)
      • makeRelativePathToProject

        public static String makeRelativePathToProject​(String filePath)
        Checks if the selected path contains the project root and if so, remove the project root from the path, making it a relative path using UNIX style forward slash file separators.
        Parameters:
        fileName - the full path to the file
        Returns:
        the relative path to the project root