FTPSettings.java Sample
This topic inludes the source code for the FTPSettings.java Sample.
Sample Location
This sample is located in the following directory in your WebLogic Workshop installation:
BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/IdeDevKit/PopupAction/src/ideExtensions/popupAction/
Sample Source Code
01 package ideExtensions.popupAction;
02
03 /**
04 * A class of constants to specify the names used for properties in the
05 * preferences file.
06 */
07 public class FTPSettings
08 {
09 public static final String HOSTNAME = "hostname";
10 public static final String PORT = "port";
11 public static final String REMOTE_DIRECTORY = "remote.directory";
12 public static final String USERNAME = "username";
13 public static final String PASSWORD = "password";
14
15 public static final int DEFAULT_PORT = 22;
16 }
|