| Modifier and Type | Method and Description |
|---|---|
| public default 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 closeCalled 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 dataCalled after successful reception of the data (and after closing the stream) |
| public OutputStream | Returns: TheOutputStream to write the incoming dataThe 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/emptyCalled when receiving a file in order to obtain an output stream for the incoming data |
| closeTargetStream | back to summary |
|---|---|
| public default void closeTargetStream(Session session, String name, long length, Set<PosixFilePermission> perms, OutputStream stream) throws IOException Called when target stream received from
| |
| getEventListenerFilePath | back to summary |
|---|---|
public Path getEventListenerFilePath()
| |
| postProcessReceivedData | back to summary |
|---|---|
| public void postProcessReceivedData(String name, boolean preserve, Set<PosixFilePermission> perms, ScpTimestampCommandDetails time) throws IOException 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 Called when receiving a file in order to obtain an output stream for the incoming data
| |