Package br.com.davinti.vitruvio.spi.impl
Class SFTPServiceImpl.JschSFTPChannel
Object
JschSFTPChannel
- All Implemented Interfaces:
SFTPService.SFTPChannel,AutoCloseable
- Enclosing class:
SFTPServiceImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclose()voidvoidget(String remoteFilePath, OutputStream output) voidput(InputStream local, String remoteFileName) voidvoid
-
Constructor Details
-
JschSFTPChannel
public JschSFTPChannel(ChannelSftp sftp, Session session)
-
-
Method Details
-
put
- Specified by:
putin interfaceSFTPService.SFTPChannel- Throws:
Exception
-
get
- Specified by:
getin interfaceSFTPService.SFTPChannel- Throws:
Exception
-
cd
- Specified by:
cdin interfaceSFTPService.SFTPChannel- Throws:
Exception
-
rm
- Specified by:
rmin interfaceSFTPService.SFTPChannel- Throws:
Exception
-
rmDir
- Specified by:
rmDirin interfaceSFTPService.SFTPChannel- Throws:
Exception
-
disconnect
public void disconnect()- Specified by:
disconnectin interfaceSFTPService.SFTPChannel
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-