|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.trilead.ssh2.SFTPv3Client
hudson.plugins.sshslaves.SFTPClient
public class SFTPClient
TODO: moved to Hudson core, so pick it up from there.
| コンストラクタの概要 | |
|---|---|
SFTPClient(com.trilead.ssh2.Connection conn)
|
|
| メソッドの概要 | |
|---|---|
com.trilead.ssh2.SFTPv3FileAttributes |
_stat(java.lang.String path)
Graceful SFTPv3Client.stat(String) that returns null if the path doesn't exist. |
void |
chmod(java.lang.String path,
int permissions)
|
boolean |
exists(java.lang.String path)
Checks if the given path exists. |
void |
mkdirs(java.lang.String path,
int posixPermission)
Makes sure that the directory exists, by creating it if necessary. |
java.io.InputStream |
read(java.lang.String file)
|
java.io.OutputStream |
writeToFile(java.lang.String path)
Creates a new file and writes to it. |
| クラス com.trilead.ssh2.SFTPv3Client から継承されたメソッド |
|---|
canonicalPath, close, closeFile, createFile, createFile, createFileTruncate, createFileTruncate, createSymlink, fsetstat, fstat, getCharset, getProtocolVersion, ls, lstat, mkdir, mv, openFileRO, openFileRW, read, readLink, rm, rmdir, setCharset, setstat, stat, write |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public SFTPClient(com.trilead.ssh2.Connection conn)
throws java.io.IOException
java.io.IOException| メソッドの詳細 |
|---|
public boolean exists(java.lang.String path)
throws java.io.IOException
java.io.IOException
public com.trilead.ssh2.SFTPv3FileAttributes _stat(java.lang.String path)
throws java.io.IOException
SFTPv3Client.stat(String) that returns null if the path doesn't exist.
java.io.IOException
public void mkdirs(java.lang.String path,
int posixPermission)
throws java.io.IOException
java.io.IOException
public java.io.OutputStream writeToFile(java.lang.String path)
throws java.io.IOException
java.io.IOException
public java.io.InputStream read(java.lang.String file)
throws java.io.IOException
java.io.IOException
public void chmod(java.lang.String path,
int permissions)
throws java.io.IOException
java.io.IOException
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||