org.hyperic.util.ssh
Class SSHCopy
java.lang.Object
org.hyperic.util.ssh.SSHBase
org.hyperic.util.ssh.SSHRemoteExec
org.hyperic.util.ssh.SSHCopy
public class SSHCopy
- extends SSHRemoteExec
Constructor Summary |
SSHCopy(java.lang.String user,
java.lang.String password,
java.lang.String host)
|
Method Summary |
void |
copy(java.io.File file,
java.lang.String remotePath)
|
void |
copy(java.io.File file,
java.lang.String remotePath,
boolean showProgress)
|
void |
delete(java.lang.String file)
|
void |
doSingleCopy(java.io.File file,
java.io.InputStream in,
java.io.OutputStream out,
boolean showProgress)
|
void |
mkDir(java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSHCopy
public SSHCopy(java.lang.String user,
java.lang.String password,
java.lang.String host)
delete
public void delete(java.lang.String file)
throws SSHRemoteException,
SSHExecException
- Throws:
SSHRemoteException
SSHExecException
mkDir
public void mkDir(java.lang.String path)
throws SSHRemoteException,
SSHExecException
- Throws:
SSHRemoteException
SSHExecException
copy
public void copy(java.io.File file,
java.lang.String remotePath)
throws SSHRemoteException
- Throws:
SSHRemoteException
copy
public void copy(java.io.File file,
java.lang.String remotePath,
boolean showProgress)
throws SSHRemoteException
- Throws:
SSHRemoteException
doSingleCopy
public void doSingleCopy(java.io.File file,
java.io.InputStream in,
java.io.OutputStream out,
boolean showProgress)
throws SSHRemoteException
- Throws:
SSHRemoteException
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.