| Package | Description |
|---|---|
| net.scharlie.lj4l.core.io.remote | |
| net.scharlie.lj4l.core.io.remote.sftp |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Connectable.connect()
Try to connect this object.
|
default boolean |
Connectable.connect(long timeoutInSeconds,
long tryIntervalInSeconds)
Try to connect this object.
|
default void |
Connectable.ensureConnected(long timeoutInSeconds,
long tryIntervalInSeconds)
Ensure that this object is connected.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
SftpSession.connect()
Try to connect this object.
|
boolean |
SftpChannel.connect()
Try to connect this object.
|
SftpFileProxy |
SftpFileProxy.getChild(String name)
Get the child with the given name.
|
Collection<SftpFileProxy> |
SftpFileProxy.getChildren()
Get the list of children.
|
SftpFileProxy |
SftpFileProxy.getParent()
Get the parent.
|
boolean |
SftpFileProxy.isDirectory()
Answer whether this is a directory.
|
long |
SftpFileProxy.lastModifiedInMillis()
Get the time stamp of the last file modification in milliseconds since 1.1.1970.
|
long |
SftpFileProxy.lengthInBytes()
Get the current length of the file in bytes.
|
| Constructor and Description |
|---|
SftpFileProxy(SftpChannel channel,
String path)
Create a SFTP file proxy.
|
SftpInputStream(SftpChannel channel,
String path)
Create a new SFTP input stream.
|
SftpInputStream(SftpChannel channel,
String path,
long skip)
Create a new SFTP input stream.
|
SftpOutputStream(SftpChannel channel,
String path)
Create a new SFTP output stream in OVERWRITE mode.
|
SftpOutputStream(SftpChannel channel,
String path,
SftpOutputStream.WriteMode mode)
Create a new SFTP output stream.
|
SftpOutputStream(SftpChannel channel,
String path,
SftpOutputStream.WriteMode mode,
long offset)
Create a new SFTP output stream.
|
Copyright © 2019. All rights reserved.