Class RemoteFileUtils

java.lang.Object
org.springframework.integration.file.remote.RemoteFileUtils

public final class RemoteFileUtils
extends java.lang.Object
Utility methods for supporting remote file operations.
Since:
3.0
  • Method Summary

    Modifier and Type Method Description
    static <F> void makeDirectories​(java.lang.String path, Session<F> session, java.lang.String remoteFileSeparator, org.apache.commons.logging.Log logger)
    Recursively create remote directories.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • makeDirectories

      public static <F> void makeDirectories​(java.lang.String path, Session<F> session, java.lang.String remoteFileSeparator, org.apache.commons.logging.Log logger) throws java.io.IOException
      Recursively create remote directories.
      Type Parameters:
      F - The session type.
      Parameters:
      path - The directory path.
      session - The session.
      remoteFileSeparator - The remote file separator.
      logger - The logger.
      Throws:
      java.io.IOException - Any IOException.