Package | Description |
---|---|
org.apache.sshd.client.scp | |
org.apache.sshd.common.scp | |
org.apache.sshd.common.scp.helpers |
Modifier and Type | Method and Description |
---|---|
ScpTimestamp |
DefaultScpStreamResolver.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
default void |
ScpClient.upload(byte[] data,
int offset,
int len,
String remote,
Collection<PosixFilePermission> perms,
ScpTimestamp time) |
default void |
ScpClient.upload(byte[] data,
String remote,
Collection<PosixFilePermission> perms,
ScpTimestamp time) |
void |
ScpClient.upload(InputStream local,
String remote,
long size,
Collection<PosixFilePermission> perms,
ScpTimestamp time) |
void |
DefaultScpClient.upload(InputStream local,
String remote,
long size,
Collection<PosixFilePermission> perms,
ScpTimestamp time) |
Constructor and Description |
---|
DefaultScpStreamResolver(String name,
Path mockPath,
Collection<PosixFilePermission> perms,
ScpTimestamp time,
long size,
InputStream local,
String cmd) |
Modifier and Type | Method and Description |
---|---|
ScpTimestamp |
ScpSourceStreamResolver.getTimestamp() |
static ScpTimestamp |
ScpTimestamp.parseTime(String line) |
Modifier and Type | Method and Description |
---|---|
void |
ScpTargetStreamResolver.postProcessReceivedData(String name,
boolean preserve,
Set<PosixFilePermission> perms,
ScpTimestamp time)
Called after successful reception of the data (and after closing the stream)
|
void |
ScpReceiveLineHandler.process(Session session,
String line,
boolean isDir,
ScpTimestamp time) |
void |
ScpHelper.receiveDir(String header,
Path local,
ScpTimestamp time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveFile(String header,
Path local,
ScpTimestamp time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveStream(String header,
ScpTargetStreamResolver resolver,
ScpTimestamp time,
boolean preserve,
int bufferSize) |
default Path |
ScpFileOpener.resolveIncomingFilePath(Session session,
Path localPath,
String name,
boolean preserve,
Set<PosixFilePermission> permissions,
ScpTimestamp time)
Invoked when receiving a new file to via a directory command
|
static void |
ScpFileOpener.updateFileProperties(Path file,
Set<PosixFilePermission> perms,
ScpTimestamp time) |
Modifier and Type | Field and Description |
---|---|
protected ScpTimestamp |
LocalFileScpSourceStreamResolver.time |
Modifier and Type | Method and Description |
---|---|
ScpTimestamp |
LocalFileScpSourceStreamResolver.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
void |
LocalFileScpTargetStreamResolver.postProcessReceivedData(String name,
boolean preserve,
Set<PosixFilePermission> perms,
ScpTimestamp time) |
protected void |
LocalFileScpTargetStreamResolver.updateFileProperties(String name,
Path path,
Set<PosixFilePermission> perms,
ScpTimestamp time) |
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.