| Modifier and Type | Field and Description |
|---|---|
| private static final OpenOption[] | |
| public static final DefaultScpFileOpener |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ScpSourceStreamResolver | createScpSourceStreamResolver(Session session, Path path)
Implements org.
|
| public ScpTargetStreamResolver | createScpTargetStreamResolver(Session session, Path path)
Implements org.
|
| public InputStream | openRead(Session
The session, Path Session requesting the accessThe requested local file file, long PathThe expected transfer bytes count size, Set<PosixFilePermission> The requested file permissions permissions, OpenOption... The options)OpenOptions - may be null/emptyImplements org. Create an input stream to read from a file |
| public OutputStream | openWrite(Session
The session, Path Session requesting the accessThe requested local file file, long PathThe expected transfer byte count size, Set<PosixFilePermission> The requested file permissions permissions, OpenOption... The options)OpenOptions - may be null/emptyImplements org. Create an output stream to write to a file |
| protected OpenOption[] | resolveOpenOptions(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options)
|
| DEFAULT_SYNC_OPTIONS | back to summary |
|---|---|
| private static final OpenOption[] DEFAULT_SYNC_OPTIONS | |
| INSTANCE | back to summary |
|---|---|
| public static final DefaultScpFileOpener INSTANCE | |
| DefaultScpFileOpener | back to summary |
|---|---|
| public DefaultScpFileOpener() | |
| createScpSourceStreamResolver | back to summary |
|---|---|
| public ScpSourceStreamResolver createScpSourceStreamResolver(Session session, Path path) throws IOException Implements org.
| |
| createScpTargetStreamResolver | back to summary |
|---|---|
| public ScpTargetStreamResolver createScpTargetStreamResolver(Session session, Path path) throws IOException Implements org.
| |
| openRead | back to summary |
|---|---|
| public InputStream openRead(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) throws IOException Implements org. Doc from org. Create an input stream to read from a file
| |
| openWrite | back to summary |
|---|---|
| public OutputStream openWrite(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) throws IOException Implements org. Doc from org. Create an output stream to write to a file
| |
| resolveOpenOptions | back to summary |
|---|---|
| protected OpenOption[] resolveOpenOptions(Session session, Path file, long size, Set<PosixFilePermission> permissions, OpenOption... options) throws IOException | |