org.opensync.engine.server.connector
Class FileConnector

java.lang.Object
  extended byorg.opensync.engine.server.DefaultConnector
      extended byorg.opensync.engine.server.connector.FileConnector
All Implemented Interfaces:
Connector, java.io.Serializable

public class FileConnector
extends DefaultConnector

The connector used to connect to a file server

Version:
1.0
Author:
SOFTMED
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.opensync.engine.server.DefaultConnector
adapter, incremental, protocol, type, url
 
Fields inherited from interface org.opensync.engine.server.Connector
BD, FILE
 
Constructor Summary
FileConnector()
          Construct a FileConnetor object
 
Method Summary
 java.lang.String getPassword()
          Get the user password used to connect to the file server
 java.lang.String getUser()
          Get the user login
 void setPassword(java.lang.String password)
          Set the user password used to connect to the file server
 void setUser(java.lang.String user)
          Set the user login used to connect to the file server
 
Methods inherited from class org.opensync.engine.server.DefaultConnector
getAdapter, getIncremental, getProtocol, getType, getUrl, release, releaseWithException, setAdapter, setIncremental, setProtocol, setType, setUrl, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileConnector

public FileConnector()
Construct a FileConnetor object

Method Detail

setUser

public void setUser(java.lang.String user)
Set the user login used to connect to the file server

Parameters:
user - the user login

getUser

public java.lang.String getUser()
Get the user login


setPassword

public void setPassword(java.lang.String password)
Set the user password used to connect to the file server

Parameters:
password - the password

getPassword

public java.lang.String getPassword()
Get the user password used to connect to the file server



Copyright © 2004 sourceforge. All Rights Reserved.