public class ScpInputStream extends InputStream
| Constructor and Description |
|---|
ScpInputStream(ISessionFactory sessionFactory,
String path,
ECopyMode copyMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeEntry() |
ScpEntry |
getNextEntry() |
int |
read() |
int |
read(byte[] aBuf,
int nOfs,
int nLen) |
available, mark, markSupported, read, reset, skippublic ScpInputStream(ISessionFactory sessionFactory, String path, ECopyMode copyMode) throws com.jcraft.jsch.JSchException, IOException
com.jcraft.jsch.JSchExceptionIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void closeEntry()
throws IOException
IOException@Nullable public ScpEntry getNextEntry() throws IOException
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] aBuf,
int nOfs,
int nLen)
throws IOException
read in class InputStreamIOExceptionCopyright © 2020 Philip Helger. All rights reserved.