| Modifier and Type | Method and Description |
|---|---|
| public default void | closeSourceStream(Session
The session, long Session through which file is transmittedThe expected transfer byte count fileSize, Set<PosixFilePermission> The requested file permissions permissions, InputStream The stream)InputStream to closeCalled when the stream obtained from |
| public Path | |
| public String | |
| public Collection | |
| public long | Returns: An estimated size of the expected number of bytes to be uploaded. If non-positive then assumed to be unknown.
|
| public ScpTimestampCommandDetails | Returns: TheScpTimestampCommandDetails to use for uploading the file if null then no
need to send this information
|
| public InputStream | Returns: TheInputStream containing the data to be uploadedThe session, long Session through which file is transmittedThe expected transfer byte count fileSize, Set<PosixFilePermission> The requested file permissions permissions, OpenOption... The options)OpenOptions may be null/empty
|
| closeSourceStream | back to summary |
|---|---|
| public default void closeSourceStream(Session session, long fileSize, Set<PosixFilePermission> permissions, InputStream stream) throws IOException Called when the stream obtained from
| |
| getEventListenerFilePath | back to summary |
|---|---|
public Path getEventListenerFilePath()
| |
| getFileName | back to summary |
|---|---|
public String getFileName() throws IOException
| |
| getPermissions | back to summary |
|---|---|
public Collection
| |
| getSize | back to summary |
|---|---|
public long getSize() throws IOException
| |
| getTimestamp | back to summary |
|---|---|
public ScpTimestampCommandDetails getTimestamp() throws IOException
| |
| resolveSourceStream | back to summary |
|---|---|
public InputStream resolveSourceStream(Session session, long fileSize, Set<PosixFilePermission> permissions, OpenOption... options) throws IOException
| |