public class FileTransferPredefinedConnection extends Object implements Serializable
FileTransferServiceInterface,
Serialized Form| Constructor and Description |
|---|
FileTransferPredefinedConnection(String label,
FileTransferProtocol connectionType,
String serverName,
String userName,
String homePath)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHomePath() |
String |
getLabel()
Retorna o rótulo da conexão.
|
FileTransferProtocol |
getProtocol()
Consulta o tipo da conexão
|
String |
getServerName()
Consulta o nome/endereço do servidor
|
String |
getUserName()
Consulta o nome de usuário no servidor
|
String |
toString() |
public FileTransferPredefinedConnection(String label, FileTransferProtocol connectionType, String serverName, String userName, String homePath)
label - rótulo da conexão.connectionType - tipo da conexão.serverName - nome do servidor remotouserName - nome do usuário remotohomePath - path para o homepublic final String getHomePath()
public final String getLabel()
public final FileTransferProtocol getProtocol()
public final String getServerName()
public final String getUserName()
Copyright © 2017. All rights reserved.