Package util

Class FilePathsUtil


  • public class FilePathsUtil
    extends java.lang.Object
    The FilePathsUtil 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 FilePathsUtil()
      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", "staff", "committee", "camp", "enquiry", and "suggestion" The corresponding values are the file paths for each data type.
    • Constructor Detail

      • FilePathsUtil

        private FilePathsUtil()
        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", "staff", "committee", "camp", "enquiry", and "suggestion", each associated with their respective file paths.
        Returns:
        a Map containing the CSV file paths for various data types