public class FTPClientApplicationConfigurationDialog
extends java.lang.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 javax.swing.JTextField |
calledAETitleField |
protected javax.swing.JTextField |
callingAETitleField |
protected FTPApplicationProperties |
ftpApplicationProperties |
protected FTPRemoteHostInformation |
ftpRemoteHostInformation |
protected javax.swing.JTextField |
listeningPortField |
Constructor and Description |
---|
FTPClientApplicationConfigurationDialog(java.awt.Component parent,
FTPRemoteHostInformation ftpRemoteHostInformation,
FTPApplicationProperties ftpApplicationProperties)
Configure and test network information.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] arg)
Test the editing of network properties from the specified file.
|
protected java.lang.String |
showInputDialogToSelectNetworkTargetByLocalName(java.awt.Component parent,
FTPRemoteHostInformation ftpRemoteHostInformation,
java.lang.String message,
java.lang.String title) |
protected javax.swing.JTextField calledAETitleField
protected javax.swing.JTextField callingAETitleField
protected FTPApplicationProperties ftpApplicationProperties
protected FTPRemoteHostInformation ftpRemoteHostInformation
protected javax.swing.JTextField listeningPortField
public FTPClientApplicationConfigurationDialog(java.awt.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(java.lang.String[] arg)
Test the editing of network properties from the specified file.
arg
- a single file name that is the properties fileprotected java.lang.String showInputDialogToSelectNetworkTargetByLocalName(java.awt.Component parent, FTPRemoteHostInformation ftpRemoteHostInformation, java.lang.String message, java.lang.String title)