01: /*
02: * The contents of this file are subject to the terms of the Common Development
03: * and Distribution License (the License). You may not use this file except in
04: * compliance with the License.
05: *
06: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
07: * or http://www.netbeans.org/cddl.txt.
08: *
09: * When distributing Covered Code, include this CDDL Header Notice in each file
10: * and include the License file at http://www.netbeans.org/cddl.txt.
11: * If applicable, add the following below the CDDL Header, with the fields
12: * enclosed by brackets [] replaced by your own identifying information:
13: * "Portions Copyrighted [year] [name of copyright owner]"
14: *
15: * The Original Software is NetBeans. The Initial Developer of the Original
16: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17: * Microsystems, Inc. All Rights Reserved.
18: */
19:
20: package org.netbeans.modules.wsdlextensions.ftp;
21:
22: /**
23: *
24: * Represents the address element under the wsdl port for FTP binding
25: * @author jim.fu@sun.com
26: */
27: public interface FTPAddress extends FTPComponent {
28: public static final String FTP_URL_PROPERTY = "url";
29: public static final String FTP_DIRLSTSTYLE_PROPERTY = "dirListStyle";
30: public static final String FTP_USE_UD_HEURISTICS_PROPERTY = "useUserDefinedHeuristics";
31: public static final String FTP_UD_DIRLSTSTYLE_PROPERTY = "userDefDirListStyle";
32: public static final String FTP_UD_HEURISTICS_PROPERTY = "userDefDirListHeuristics";
33: public static final String FTP_TRANSMODE_PROPERTY = "mode";
34: public static final String FTP_CMD_CH_TIMEOUT_PROPERTY = "cmdChannelTimeout";
35: public static final String FTP_DATA_CH_TIMEOUT_PROPERTY = "dataChannelTimeout";
36:
37: public String getFTPURL();
38:
39: public void setFTPURL(String url);
40:
41: public String getDirListStyle();
42:
43: public void setDirListStyle(String style);
44:
45: //useUserDefinedHeuristics="indicate that user defined listing style will be used"
46: public boolean getUseUserDefinedHeuristics();
47:
48: public void setUseUserDefinedHeuristics(boolean useUserDefined);
49:
50: //userDefDirListStyle="specify user defined listing style name (optional)"
51: public String getUserDefDirListStyle();
52:
53: public void setUserDefDirListStyle(String style);
54:
55: //userDefDirListHeuristics="specify location of heuristics configuration file containing the 'userDefDirListingStyle'"
56: public String getUserDefDirListHeuristics();
57:
58: public void setUserDefDirListHeuristics(String heuristicsLoc);
59:
60: //mode="BINARY"
61: public String getTrnasferMode();
62:
63: public void setTransferMode(String mode);
64:
65: public String getCmdChannelTimeout();
66:
67: public void setCmdChannelTimeout(String s);
68:
69: public String getDataChannelTimeout();
70:
71: public void setDataChannelTimeout(String s);
72: }
|