public class ScpWagon extends AbstractJschWagon
|
EXEC_CHANNEL, session, sshTool
authenticationInfo, DEFAULT_BUFFER_SIZE, interactive, proxyInfo, repository, sessionEventSupport, transferEventSupport
ROLE
DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT
Constructor and Description |
---|
ScpWagon() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanupGetTransfer(Resource resource) |
protected void |
cleanupPutTransfer(Resource resource) |
void |
fillInputData(InputData inputData) |
void |
fillOutputData(OutputData outputData) |
protected void |
finishGetTransfer(Resource resource,
InputStream input,
OutputStream output) |
protected void |
finishPutTransfer(Resource resource,
InputStream input,
OutputStream output) |
String |
getOctalMode(RepositoryPermissions permissions) |
protected void |
getTransfer(Resource resource,
OutputStream output,
InputStream input,
boolean closeInput,
int maxSize)
Deprecated.
|
protected void |
getTransfer(Resource resource,
OutputStream output,
InputStream input,
boolean closeInput,
long maxSize) |
protected String |
readLine(InputStream in) |
protected static void |
sendEom(OutputStream out) |
closeConnection, executeCommand, executeCommand, getFileList, getInteractiveUserInfo, getKnownHostsProvider, handleGetException, openConnectionInternal, putDirectory, resourceExists, setInteractiveUserInfo, setKnownHostsProvider, supportsDirectoryCopy
checkInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStream, put, putFromStream, putFromStream, putFromStream
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, createParentDirectories, disconnect, fireGetCompleted, fireGetInitiated, fireGetStarted, firePutCompleted, firePutInitiated, firePutStarted, fireSessionConnectionRefused, fireSessionDebug, fireSessionDisconnected, fireSessionDisconnecting, fireSessionError, fireSessionLoggedIn, fireSessionLoggedOff, fireSessionOpened, fireSessionOpening, fireTransferDebug, fireTransferError, fireTransferProgress, getAuthenticationInfo, getPath, getPermissionsOverride, getProxyInfo, getProxyInfo, getReadTimeout, getRepository, getSessionEventSupport, getTimeout, getTransfer, getTransfer, getTransfer, getTransfer, getTransferEventSupport, hasSessionListener, hasTransferListener, isInteractive, openConnection, postProcessListeners, putTransfer, putTransfer, removeSessionListener, removeTransferListener, setInteractive, setPermissionsOverride, setReadTimeout, setSessionEventSupport, setTimeout, setTransferEventSupport, transfer, transfer, transfer, transfer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, get, getIfNewer, getReadTimeout, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, openConnection, put, removeSessionListener, removeTransferListener, setInteractive, setReadTimeout, setTimeout
public ScpWagon()
protected void cleanupPutTransfer(Resource resource)
cleanupPutTransfer
in class AbstractWagon
protected void finishPutTransfer(Resource resource, InputStream input, OutputStream output) throws TransferFailedException
finishPutTransfer
in class AbstractWagon
TransferFailedException
protected void finishGetTransfer(Resource resource, InputStream input, OutputStream output) throws TransferFailedException
finishGetTransfer
in class AbstractWagon
TransferFailedException
protected void cleanupGetTransfer(Resource resource)
cleanupGetTransfer
in class AbstractWagon
@Deprecated protected void getTransfer(Resource resource, OutputStream output, InputStream input, boolean closeInput, int maxSize) throws TransferFailedException
getTransfer
in class AbstractWagon
TransferFailedException
protected void getTransfer(Resource resource, OutputStream output, InputStream input, boolean closeInput, long maxSize) throws TransferFailedException
getTransfer
in class AbstractWagon
TransferFailedException
protected String readLine(InputStream in) throws IOException
IOException
protected static void sendEom(OutputStream out) throws IOException
IOException
public void fillInputData(InputData inputData) throws TransferFailedException, ResourceDoesNotExistException
fillInputData
in class StreamWagon
TransferFailedException
ResourceDoesNotExistException
public void fillOutputData(OutputData outputData) throws TransferFailedException
fillOutputData
in class StreamWagon
TransferFailedException
public String getOctalMode(RepositoryPermissions permissions)
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.