public class RemoteFolder extends RemoteFile
agentExecutor, name, parentName| Constructor and Description |
|---|
RemoteFolder(AgentExecutor agentExecutor,
String parentName,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadTo(Path localPath) |
List<RemoteFile> |
list() |
String |
toString() |
void |
upload(File localFile) |
void |
upload(Path localFile) |
void |
upload(String remoteFilename,
InputStream localStream) |
void |
upload(String remoteFilename,
URL localResourceUrl) |
downloadTo, getAbsoluteName, getName, isFolder, toTransportableFilepublic RemoteFolder(AgentExecutor agentExecutor, String parentName, String name)
public List<RemoteFile> list()
public void upload(File localFile) throws IOException
IOExceptionpublic void upload(Path localFile) throws IOException
IOExceptionpublic void upload(String remoteFilename, URL localResourceUrl) throws IOException
IOExceptionpublic void upload(String remoteFilename, InputStream localStream) throws IOException
IOExceptionpublic void downloadTo(Path localPath) throws IOException
downloadTo in class RemoteFileIOExceptionpublic String toString()
toString in class RemoteFileCopyright © 2024. All rights reserved.