01: /**
02: * Copyright 2002 Sun Microsystems, Inc. All
03: * rights reserved. Use of this product is subject
04: * to license terms. Federal Acquisitions:
05: * Commercial Software -- Government Users
06: * Subject to Standard License Terms and
07: * Conditions.
08: *
09: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
10: * are trademarks or registered trademarks of Sun Microsystems,
11: * Inc. in the United States and other countries.
12: *
13: * Author: Anurag Gupta
14: */package com.sun.portal.netfile.admin;
15:
16: public interface NetFileHostConstants {
17:
18: public static final String PAGE_TITLE = "titleHtmlPage";
19: public static final String PAGE_DESC = "serviceDescription"; // NetFile
20: public static final String PAGE_DESC_HREF = "serviceDescHref";
21: public static final String PAGE_DESC_ACTION = "serviceDescAction"; // Edit Host
22: public static final String CHILD_CC_MSGBOX = "ccMessageBox";
23: public static final String CHILD_HOSTNAME_LBL = "hostnameLabel";
24: public static final String CHILD_HOSTNAME = "hostname";
25: public static final String CHILD_HOSTTYPE_LBL = "hosttypeLabel";
26: public static final String CHILD_HOSTTYPE = "hosttype";
27: public static final String CHILD_HOSTENCODING_LBL = "hostencodingLabel";
28: public static final String CHILD_HOSTENCODING = "hostencoding";
29: public static final String CHILD_HOSTDOMAIN_LBL = "hostdomainLabel";
30: public static final String CHILD_HOSTDOMAIN = "hostdomain";
31: public static final String CHILD_HOSTUSERNAME_LBL = "hostusernameLabel";
32: public static final String CHILD_HOSTUSERNAME = "hostusername";
33: public static final String CHILD_HOSTPASSWORD_LBL = "hostpasswordLabel";
34: public static final String CHILD_HOSTPASSWORD = "hostpassword";
35: public static final String CHILD_HOSTSHARELIST_LBL = "hostsharelistLabel";
36: public static final String CHILD_HOSTSHARELIST = "hostsharelist";
37: public static final String CHILD_HOSTSHARENAME_LBL = "hostsharenameLabel";
38: public static final String CHILD_HOSTSHARENAME = "hostsharename";
39: public static final String CHILD_HOSTSHAREPASSWORD_LBL = "hostsharepasswordLabel";
40: public static final String CHILD_HOSTSHAREPASSWORD = "hostsharepassword";
41:
42: /*
43: public static final String CHILD_HOSTSHAREUSER_LBL = "hostshareuserLabel";
44: public static final String CHILD_HOSTSHAREUSER = "hostshareuser";
45: public static final String CHILD_HOSTSHAREPASS_LBL = "hostsharepassLabel";
46: public static final String CHILD_HOSTSHAREPASS = "hostsharepass";
47: */
48: public static final String CHILD_HOST_INDEX = "hostIndex";
49: public static final String CHILD_ERRORMSGS = "errorMessages";
50: public static final String CHILD_SAVE_BTN = "saveButton";
51: public static final String CHILD_CANCEL_BTN = "cancelButton";
52: public static final String CHILD_REMOVE_BTN = "removeButton";
53: public static final String CHILD_ADDTOLIST_BTN = "addtolistButton";
54:
55: public static final String HOST_DELIM = "\n";
56: // public final String SAMPLE_HOST = "machine_name=MyHost\nmachine_type=NFS\nmachine_encoding=western(iso-8859-1)\nmachine_domain=\nmachine_password=password\nmachine_user_name=root\nshare_name=/space\nshare_username=root\nshare_password=password\n";
57: public static final String SAMPLE_HOST = "machine_name=MyHost\nmachine_type=NFS\nmachine_encoding=western(iso-8859-1)\nmachine_domain=\nmachine_password=password\nmachine_user_name=root";
58:
59: public static final String hostListStrHost = "machine_name=";
60: public static final String hostListStrType = "machine_type=";
61: public static final String hostListStrEncoding = "machine_encoding=";
62: public static final String hostListStrDomain = "machine_domain=";
63: public static final String hostListStrUser = "machine_user_name=";
64: public static final String hostListStrPass = "machine_password=";
65: public static final String hostListStrShare = "share_name=";
66: //public static final String hostListStrShareUser = "share_username=";
67: public static final String hostListStrSharePass = "share_password=";
68:
69: }
|