Module sc2002_fypms
Package utils

Class FilePathsUtils


  • public class FilePathsUtils
    extends java.lang.Object
    The FilePathsUtils class provides utility methods for managing file paths within the application. It contains a method to return a mapping of CSV file paths for various data types.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​java.lang.String> filePathsMap
      A Map object that contains the file paths for various data types used in the application.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private FilePathsUtils()
      Private constructor to prevent instantiation of the class.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String> csvFilePaths()
      Returns a mapping of CSV file paths for various data types used in the application.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • filePathsMap

        private static java.util.Map<java.lang.String,​java.lang.String> filePathsMap
        A Map object that contains the file paths for various data types used in the application. Keys in the map are "user", "student", "supervisor", "fypcoordinator", "project", "request", "transferStudentRequest", and "changeProjectTitleRequest". The corresponding values are the file paths for each data type.
    • Constructor Detail

      • FilePathsUtils

        private FilePathsUtils()
        Private constructor to prevent instantiation of the class.
    • Method Detail

      • csvFilePaths

        public static java.util.Map<java.lang.String,​java.lang.String> csvFilePaths()
        Returns a mapping of CSV file paths for various data types used in the application. The returned map contains keys such as "user", "student", "supervisor", "fypcoordinator", "project", "request", "transferStudentRequest", and "changeProjectTitleRequest", each associated with their respective file paths.
        Returns:
        a Map containing the CSV file paths for various data types