Class FlexFileBase

java.lang.Object
flexagon.ff.common.core.utils.FlexFileBase
Direct Known Subclasses:
FlexFileUtils

public class FlexFileBase extends Object
  • Constructor Details

    • FlexFileBase

      public FlexFileBase()
  • Method Details

    • isSymbolicLink

      public static boolean isSymbolicLink(Path pPath)
      Returns true if pPath represents symbolic link.
      Parameters:
      pPath -
      Returns:
    • isSymbolicLink

      public static boolean isSymbolicLink(File file)
      Returns true if file represents symbolic link.
      Parameters:
      file -
      Returns:
    • setOwnerOnlyFilePermissions

      public static void setOwnerOnlyFilePermissions(File pFile) throws IOException
      Sets the permissions of the given File instance to 700
      Parameters:
      pFile - file or directory to have its permissions set
      Throws:
      IOException