public class ScpOutputStream extends OutputStream
| Constructor and Description |
|---|
ScpOutputStream(ISessionFactory sessionFactory,
String path,
ECopyMode copyMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeEntry() |
void |
putNextEntry(ScpEntry entry) |
void |
putNextEntry(String name) |
void |
putNextEntry(String name,
long size) |
void |
write(byte[] aBuf,
int nOfs,
int nLen) |
void |
write(int b) |
flush, writepublic ScpOutputStream(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 OutputStreamIOExceptionpublic void closeEntry()
throws IOException
IOExceptionpublic void putNextEntry(String name) throws IOException
IOExceptionpublic void putNextEntry(String name, long size) throws IOException
IOExceptionpublic void putNextEntry(ScpEntry entry) throws IOException
IOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] aBuf,
int nOfs,
int nLen)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2020 Philip Helger. All rights reserved.