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> voidmakeDirectories(java.lang.String path, Session<F> session, java.lang.String remoteFileSeparator, org.apache.commons.logging.Log logger)Recursively create remote directories.
-
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.IOExceptionRecursively 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.
-