View Javadoc

1   package org.opensync.engine.server.connector;
2   
3   import org.opensync.engine.server.DefaultConnector;
4   
5   /***
6    * The connector used to connect to a file server
7    *
8    * @version	1.0
9    * @author	SOFTMED
10   */
11  
12  public class FileConnector extends DefaultConnector {
13  
14    /***
15     * Construct a FileConnetor object
16     *
17     */
18    public FileConnector() {
19      this.type = FILE;
20    }
21    /***
22     * @param	url
23     */
24    /****/
25    /***
26     * Set the user login used to connect to the file server
27     * 
28     * @param	user the user login
29     */
30    public void setUser(String user) {
31      this.user = user;
32    }
33    /***
34     * Get the user login
35     * 
36     */
37    public String getUser() {
38      return user;
39    }
40    /***
41     * Set the user password used to connect to the file server
42     * 
43     * @param	password the password
44     */
45    public void setPassword(String password) {
46      this.password = password;
47    }
48    /***
49     * Get the user password used to connect to the file server
50     * 
51     */
52    public String getPassword() {
53      return password;
54    }
55    private String user;
56    private String password;
57  }