Package | Description |
---|---|
org.apache.sshd.common.file | |
org.apache.sshd.common.file.nativefs | |
org.apache.sshd.common.scp | |
org.apache.sshd.server.sftp |
Modifier and Type | Method and Description |
---|---|
SshFile |
FileSystemView.getFile(SshFile baseDir,
String file)
Get file object.
|
SshFile |
FileSystemView.getFile(String file)
Get file object.
|
SshFile |
SshFile.getParentFile()
Get the immediate parent.
|
Modifier and Type | Method and Description |
---|---|
List<SshFile> |
SshFile.listSshFiles()
List file objects.
|
Modifier and Type | Method and Description |
---|---|
void |
SshFile.createSymbolicLink(SshFile destination) |
SshFile |
FileSystemView.getFile(SshFile baseDir,
String file)
Get file object.
|
boolean |
SshFile.move(SshFile destination)
Move file.
|
Modifier and Type | Class and Description |
---|---|
class |
NativeSshFile
Internal class, do not use directly.
This class wraps native file object.
|
class |
NativeSshFileNio
Internal class, do not use directly.
This class wraps native file object.
|
Modifier and Type | Method and Description |
---|---|
SshFile |
NativeFileSystemView.getFile(SshFile baseDir,
String file) |
SshFile |
NativeFileSystemView.getFile(String file)
Get file object.
|
protected SshFile |
NativeFileSystemView.getFile(String dir,
String file) |
SshFile |
NativeSshFile.getParentFile() |
Modifier and Type | Method and Description |
---|---|
List<SshFile> |
NativeSshFile.listSshFiles()
List files.
|
Modifier and Type | Method and Description |
---|---|
void |
NativeSshFile.createSymbolicLink(SshFile destination) |
void |
NativeSshFileNio.createSymbolicLink(SshFile destination) |
SshFile |
NativeFileSystemView.getFile(SshFile baseDir,
String file) |
boolean |
NativeSshFile.move(SshFile dest)
Move file object.
|
Modifier and Type | Method and Description |
---|---|
void |
ScpHelper.receive(SshFile path,
boolean recursive,
boolean shouldBeDir,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveDir(String header,
SshFile path,
long[] time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveFile(String header,
SshFile path,
long[] time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.sendDir(SshFile path,
boolean preserve,
int bufferSize) |
void |
ScpHelper.sendFile(SshFile path,
boolean preserve,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
SshFile |
SftpSubsystem.Handle.getFile() |
SshFile |
SftpSubsystem.DirectoryHandle.next() |
Modifier and Type | Method and Description |
---|---|
protected void |
SftpSubsystem.sendAttrs(int id,
SshFile file,
boolean followLinks) |
protected void |
SftpSubsystem.sendPath(int id,
SshFile f) |
protected void |
SftpSubsystem.sendPath(int id,
SshFile f,
boolean sendAttrs) |
protected void |
SftpSubsystem.writeAttrs(Buffer buffer,
SshFile file,
boolean followLinks) |
Modifier and Type | Method and Description |
---|---|
protected void |
SftpSubsystem.sendName(int id,
Iterator<SshFile> files) |
Constructor and Description |
---|
DirectoryHandle(SshFile file) |
FileHandle(SshFile sshFile,
int flags) |
Handle(SshFile file) |
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.