public class RemoteFile extends Object
| Modifier and Type | Field and Description |
|---|---|
protected AgentExecutor |
agentExecutor |
protected String |
name |
protected String |
parentName |
| Constructor and Description |
|---|
RemoteFile(AgentExecutor agentExecutor,
String parentName,
String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadTo(File path) |
void |
downloadTo(Path path) |
String |
getAbsoluteName() |
String |
getName() |
boolean |
isFolder() |
String |
toString() |
TransportableFile |
toTransportableFile() |
protected final transient AgentExecutor agentExecutor
protected final String parentName
protected final String name
public RemoteFile(AgentExecutor agentExecutor, String parentName, String name)
public String getName()
public String getAbsoluteName()
public boolean isFolder()
public void downloadTo(File path) throws IOException
IOExceptionpublic void downloadTo(Path path) throws IOException
IOExceptionpublic TransportableFile toTransportableFile()
Copyright © 2023. All rights reserved.