com.ibm.manplato.Conduit.Samples
Class MemoConduit

java.lang.Object
  |
  +--com.ibm.manplato.Conduit.Conduit
        |
        +--com.ibm.manplato.Conduit.CDKJBridge
              |
              +--com.ibm.manplato.Conduit.Samples.MemoConduit
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.io.Serializable

public class MemoConduit
extends CDKJBridge

This class provides support to run the CDK-Java MemoCond conduit. This class provides the necessary information to bridge between the ManplatoSync for Java's Conduit specification and the information that the MemoCond conduit expects to find in the Windows registry.

Version:
$Rev$-$Date: 2001/03/15 16:47:32 $$State: Exp $
Author:
Last Modified By: $Author: Yaztromo $
See Also:
sample.memocond.MemoCond, CDKJBridge, Serialized Form

Constructor Summary
MemoConduit()
          Creates a new MemoConduit bridge class.
 
Method Summary
protected  boolean doFastSync()
          This method returns false, as it always expects to do a slow sync.
protected  java.lang.String getCDKJConduitClassName()
          This method returns the name of the CDK-J conduit it's bridging, namely "sample.memocond.MemoCond".
 java.lang.String getConduitName()
          This method returns the name of this Conduit class.
protected  int getConduitVersion()
          This method returns the version of this conduit.
protected  int getCreatorID()
          This method returns the creator ID for the MemoCond conduit.
protected  java.lang.String getDBName()
          This method returns the name of the database this conduit syncs against.
protected  java.lang.String[] getDBNames()
           
protected  java.lang.String getFileName()
          This method returns the filename of the encoded memo data for this conduit.
protected  java.lang.String[] getFileNames()
           
 
Methods inherited from class com.ibm.manplato.Conduit.CDKJBridge
actionPerformed, activateConduitConfiguration, getConfigPanel, getDBName, getDescriptiveText, getFileName, getResourceBundleClassName, startSync
 
Methods inherited from class com.ibm.manplato.Conduit.Conduit
getResourceBundle, getSyncPriorityLevel, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MemoConduit

public MemoConduit()
Creates a new MemoConduit bridge class.
Method Detail

doFastSync

protected boolean doFastSync()
This method returns false, as it always expects to do a slow sync.
Overrides:
doFastSync in class CDKJBridge
Returns:
This method always returns false.

getCDKJConduitClassName

protected java.lang.String getCDKJConduitClassName()
This method returns the name of the CDK-J conduit it's bridging, namely "sample.memocond.MemoCond".
Overrides:
getCDKJConduitClassName in class CDKJBridge
Returns:
the String "sample.memocond.MemoCond".

getConduitName

public java.lang.String getConduitName()
This method returns the name of this Conduit class.
Overrides:
getConduitName in class CDKJBridge
Returns:
the String "CDK-J Memo Conduit Bridge".

getConduitVersion

protected int getConduitVersion()
This method returns the version of this conduit.
Overrides:
getConduitVersion in class CDKJBridge
Returns:
the integer 1.

getCreatorID

protected int getCreatorID()
This method returns the creator ID for the MemoCond conduit.
Overrides:
getCreatorID in class CDKJBridge
Returns:
the creator ID "memo" as a single integer.

getDBName

protected java.lang.String getDBName()
This method returns the name of the database this conduit syncs against.
Returns:
the String "MemoDB".

getDBNames

protected java.lang.String[] getDBNames()
Overrides:
getDBNames in class CDKJBridge
Returns:
java.lang.String

getFileName

protected java.lang.String getFileName()
This method returns the filename of the encoded memo data for this conduit.
Returns:
the filename "memopad.dat".

getFileNames

protected java.lang.String[] getFileNames()
Overrides:
getFileNames in class CDKJBridge
Returns:
java.lang.String