Class FileSystemUtils_Patch

java.lang.Object
org.openspaces.pu.container.servicegrid.FileSystemUtils_Patch

public class FileSystemUtils_Patch extends Object
GS-14704 A patch for org.springframework.util.FileSystemUtils.copyRecursively method that from 5.0 the implementation no longer supports symbolic links see pull request: https://github.com/spring-projects/spring-framework/pull/24823
  • Constructor Details

    • FileSystemUtils_Patch

      public FileSystemUtils_Patch()
  • Method Details

    • copyRecursively

      public static void copyRecursively(File src, File dest) throws IOException
      Recursively copy the contents of the src file/directory to the dest file/directory.
      Parameters:
      src - the source directory
      dest - the destination directory
      Throws:
      IOException - in the case of I/O errors
    • copyRecursively

      public static void copyRecursively(Path src, Path dest) throws IOException
      Recursively copy the contents of the src file/directory to the dest file/directory.
      Parameters:
      src - the source directory
      dest - the destination directory
      Throws:
      IOException - in the case of I/O errors
      Since:
      5.0