|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecureChannel
Method Summary | |
---|---|
void |
close()
|
void |
createDirectory(RemoteFile dir)
|
void |
deleteFile(String absolutePath)
|
List<CommandResult> |
exec(CommandContext... contexts)
|
CommandResult |
exec(CommandContext context)
|
List<CommandResult> |
exec(String... commands)
Pass each command to a remote server as a sequence of bytes encoded using UTF-8 |
CommandResult |
exec(String command)
Pass this command to a remote server as a sequence of bytes encoded using UTF-8 |
void |
execNoWait(byte[] command)
|
void |
execNoWait(String command)
Pass this command to a remote server as a sequence of bytes encoded using UTF-8 |
boolean |
exists(String absolutePath)
|
RemoteFile |
getMetaData(String absolutePath)
|
RemoteFile |
getWorkingDirectory()
|
boolean |
isDirectory(String absolutePath)
|
CopyResult |
scp(File source,
RemoteFile destination)
|
CopyResult |
scp(InputStream source,
RemoteFile destination)
|
CopyResult |
scp(RemoteFile source,
File destination)
|
CopyResult |
scp(RemoteFile source,
OutputStream out)
|
CopyResult |
scp(String absolutePath,
OutputStream out)
|
CopyResult |
scp(String location,
RemoteFile destination)
|
CopyResult |
scpString(String string,
RemoteFile destination)
Copy the contents of string to destination |
CopyResult |
scpToDir(File source,
RemoteFile directory)
|
CopyResult |
scpToDir(RemoteFile source,
File directory)
|
CopyResult |
scpToDir(String location,
RemoteFile directory)
|
String |
toString(RemoteFile source)
|
Method Detail |
---|
CommandResult exec(CommandContext context)
List<CommandResult> exec(CommandContext... contexts)
CommandResult exec(String command)
List<CommandResult> exec(String... commands)
void execNoWait(String command)
void execNoWait(byte[] command)
CopyResult scp(File source, RemoteFile destination)
CopyResult scp(String location, RemoteFile destination)
CopyResult scp(InputStream source, RemoteFile destination)
CopyResult scpString(String string, RemoteFile destination)
string
to destination
CopyResult scpToDir(String location, RemoteFile directory)
CopyResult scpToDir(File source, RemoteFile directory)
CopyResult scp(RemoteFile source, File destination)
CopyResult scpToDir(RemoteFile source, File directory)
RemoteFile getMetaData(String absolutePath)
boolean exists(String absolutePath)
boolean isDirectory(String absolutePath)
void deleteFile(String absolutePath)
void createDirectory(RemoteFile dir)
RemoteFile getWorkingDirectory()
CopyResult scp(String absolutePath, OutputStream out) throws IOException
IOException
CopyResult scp(RemoteFile source, OutputStream out) throws IOException
IOException
String toString(RemoteFile source)
void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |