org.apache.tools.ant.taskdefs.optional.ssh
Class ScpToMessage
java.lang.Object
org.apache.tools.ant.taskdefs.optional.ssh.AbstractSshMessage
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage
- public class ScpToMessage
- extends AbstractSshMessage
Constructor Summary |
ScpToMessage(Session session,
java.io.File aLocalFile,
java.lang.String aRemotePath)
|
ScpToMessage(Session session,
java.util.List aDirectoryList,
java.lang.String aRemotePath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScpToMessage
public ScpToMessage(Session session,
java.io.File aLocalFile,
java.lang.String aRemotePath)
ScpToMessage
public ScpToMessage(Session session,
java.util.List aDirectoryList,
java.lang.String aRemotePath)
execute
public void execute()
throws java.io.IOException,
JSchException
- Specified by:
execute
in class AbstractSshMessage
- Throws:
java.io.IOException
JSchException
getLocalFile
public java.io.File getLocalFile()
getRemotePath
public java.lang.String getRemotePath()
Copyright ? 2000-2005 Apache Software Foundation. All Rights Reserved.