public class FTPClientApplicationConfigurationDialog extends Object
This class provides a user interface for applications to configure and test properties related to remote FTP hosts.
Modifier and Type | Class and Description |
---|---|
protected class |
FTPClientApplicationConfigurationDialog.AddRemoteHostActionListener |
protected class |
FTPClientApplicationConfigurationDialog.DoneActionListener |
protected class |
FTPClientApplicationConfigurationDialog.EditRemoteHostActionListener |
protected class |
FTPClientApplicationConfigurationDialog.RemoveRemoteHostActionListener |
Modifier and Type | Field and Description |
---|---|
protected JTextField |
calledAETitleField |
protected JTextField |
callingAETitleField |
protected FTPApplicationProperties |
ftpApplicationProperties |
protected FTPRemoteHostInformation |
ftpRemoteHostInformation |
protected JTextField |
listeningPortField |
Constructor and Description |
---|
FTPClientApplicationConfigurationDialog(Component parent,
FTPRemoteHostInformation ftpRemoteHostInformation,
FTPApplicationProperties ftpApplicationProperties)
Configure and test network information.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] arg)
Test the editing of network properties from the specified file.
|
protected String |
showInputDialogToSelectNetworkTargetByLocalName(Component parent,
FTPRemoteHostInformation ftpRemoteHostInformation,
String message,
String title) |
protected JTextField calledAETitleField
protected JTextField callingAETitleField
protected FTPApplicationProperties ftpApplicationProperties
protected FTPRemoteHostInformation ftpRemoteHostInformation
protected JTextField listeningPortField
public FTPClientApplicationConfigurationDialog(Component parent, FTPRemoteHostInformation ftpRemoteHostInformation, FTPApplicationProperties ftpApplicationProperties) throws FTPException
Configure and test network information.
parent
- the parent component on which the new dialog is centered, may be null in which case centered on the screenftpRemoteHostInformation
- the current information whose contents are to be replaced with updated informationftpApplicationProperties
- the static properties that are to be editedFTPException
public static void main(String[] arg)
Test the editing of network properties from the specified file.
arg
- a single file name that is the properties fileprotected String showInputDialogToSelectNetworkTargetByLocalName(Component parent, FTPRemoteHostInformation ftpRemoteHostInformation, String message, String title)