Interface ChutneySftpClient
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
SftpClientImpl
public interface ChutneySftpClient extends AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddownload(String source, String destination)Map<String,Object>getAttributes(String file)List<String>listDirectory(String directory)voidupload(String source, String destination)-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
upload
void upload(String source, String destination) throws IOException
- Throws:
IOException
-
download
void download(String source, String destination) throws IOException
- Throws:
IOException
-
listDirectory
List<String> listDirectory(String directory) throws IOException
- Throws:
IOException
-
getAttributes
Map<String,Object> getAttributes(String file) throws IOException
- Throws:
IOException
-
-