Class FileUtil

    • Constructor Detail

      • FileUtil

        public FileUtil()
    • Method Detail

      • logFileUsage

        public static void logFileUsage​(Path filePath,
                                        String context,
                                        boolean logReadAccess)
      • logFileUsage

        public static void logFileUsage​(File file,
                                        String context,
                                        boolean logReadAccess)
      • logFileUsage

        public static void logFileUsage​(String stringPath,
                                        String context,
                                        boolean logReadAccess)
      • throwWhenPermiossionDifferentThanReadWriteForOwner

        public static void throwWhenPermiossionDifferentThanReadWriteForOwner​(File file,
                                                                              String context)
      • throwWhenPermiossionDifferentThanReadWriteForOwner

        public static void throwWhenPermiossionDifferentThanReadWriteForOwner​(Path filePath,
                                                                              String context)
      • throwWhenOwnerDifferentThanCurrentUser

        public static void throwWhenOwnerDifferentThanCurrentUser​(File file,
                                                                  String context)