Class FileOrRendition.SftpConnectionSource
- java.lang.Object
-
- com.adobe.acs.commons.mcp.impl.processes.asset.FileOrRendition.SftpConnectionSource
-
- All Implemented Interfaces:
Source
- Enclosing class:
- FileOrRendition
public class FileOrRendition.SftpConnectionSource extends Object implements Source
-
-
Constructor Summary
Constructors Constructor Description SftpConnectionSource(FileOrRendition thizz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()HierarchicalElementgetElement()longgetLength()StringgetName()com.jcraft.jsch.SessiongetSessionForHost(URI uri)InputStreamgetStream()
-
-
-
Constructor Detail
-
SftpConnectionSource
public SftpConnectionSource(FileOrRendition thizz)
-
-
Method Detail
-
getSessionForHost
public com.jcraft.jsch.Session getSessionForHost(URI uri) throws IOException
- Throws:
IOException
-
getStream
public InputStream getStream() throws IOException
- Specified by:
getStreamin interfaceSource- Throws:
IOException
-
getLength
public long getLength() throws IOException- Specified by:
getLengthin interfaceSource- Throws:
IOException
-
getElement
public HierarchicalElement getElement()
- Specified by:
getElementin interfaceSource
-
close
public void close() throws IOException- Specified by:
closein interfaceSource- Throws:
IOException
-
-