| Modifier and Type | Field and Description |
|---|---|
| private Path | |
| protected final ScpFileOpener | |
| protected final Path | |
| protected final Boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | closeTargetStream(Session
The associated session, String SessionFile name as received from remote site name, long Number of bytes expected to receive length, Set<PosixFilePermission> The perms, OutputStream Set of PosixFilePermission expectedThe stream)OutputStream to closeOverrides default org. Called when target stream received from |
| public Path | |
| public void | postProcessReceivedData(String
File name as received from remote site name, boolean If preserve, Set<PosixFilePermission> true then the resolver should attempt to preserve the specified permissions and
timestampThe perms, ScpTimestampCommandDetails Set of PosixFilePermission expectedIf not time)null then the required timestamp(s) on the incoming dataImplements org. Called after successful reception of the data (and after closing the stream) |
| public OutputStream | resolveTargetStream(Session
The associated session, String SessionFile name as received from remote site name, long Number of bytes expected to receive length, Set<PosixFilePermission> The perms, OpenOption... Set of PosixFilePermission expectedThe options)OpenOptions to use - may be null/emptyImplements org. Called when receiving a file in order to obtain an output stream for the incoming data |
| public String | |
| protected void | updateFileProperties(String name, Path path, Set<PosixFilePermission> perms, ScpTimestampCommandDetails time)
|
| file | back to summary |
|---|---|
| private Path file | |
| opener | back to summary |
|---|---|
| protected final ScpFileOpener opener | |
| path | back to summary |
|---|---|
| protected final Path path | |
| status | back to summary |
|---|---|
| protected final Boolean status | |
| LocalFileScpTargetStreamResolver | back to summary |
|---|---|
| public LocalFileScpTargetStreamResolver(Path path, ScpFileOpener opener) throws IOException | |
| closeTargetStream | back to summary |
|---|---|
| public void closeTargetStream(Session session, String name, long length, Set<PosixFilePermission> perms, OutputStream stream) throws IOException Overrides default org. Doc from org. Called when target stream received from
| |
| getEventListenerFilePath | back to summary |
|---|---|
| public Path getEventListenerFilePath() Implements org.
| |
| postProcessReceivedData | back to summary |
|---|---|
| public void postProcessReceivedData(String name, boolean preserve, Set<PosixFilePermission> perms, ScpTimestampCommandDetails time) throws IOException Implements org. Doc from org. Called after successful reception of the data (and after closing the stream)
| |
| resolveTargetStream | back to summary |
|---|---|
| public OutputStream resolveTargetStream(Session session, String name, long length, Set<PosixFilePermission> perms, OpenOption... options) throws IOException Implements org. Doc from org. Called when receiving a file in order to obtain an output stream for the incoming data
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| updateFileProperties | back to summary |
|---|---|
| protected void updateFileProperties(String name, Path path, Set<PosixFilePermission> perms, ScpTimestampCommandDetails time) throws IOException | |