jSyncManager

org.jSyncManager.Conduit.FotoReader
Class FotoReader

java.lang.Object
  extended byorg.jSyncManager.API.Conduit.AbstractConduit
      extended byorg.jSyncManager.Conduit.FotoReader.FotoReader
All Implemented Interfaces:
java.io.Serializable

public class FotoReader
extends AbstractConduit

A jConduit for reading and saving images taken by the handhelds camera. This jConduit works with the Photo app built into some handhelds such as the Zire 71. It will read each photograph present, decode it, and then save it to local storage for viewing and/or manipulation in the users favorite program.

Version:
$Revision: 1.3 $
Author:
Brad BARCLAY <bbarclay@jsyncmanager.org>
Last modified by: $Author: yaztromo $ on $Date: 2004/07/20 01:26:16 $.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit
CANCEL_BUTTON_PRESSED, configurationPanel, HELP_BUTTON_PRESSED, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, OK_BUTTON_PRESSED, resources
 
Constructor Summary
FotoReader()
           
 
Method Summary
protected  javax.swing.JPanel constructConfigPanel()
          Constructs a configuration panel for this jConduit.
protected  java.lang.String getResourceBundleName()
          Retrieves the name of the class to use as the Conduits Resource Bundle.
 void startSync(ConduitHandler conduitHandler, DLPUserInfo user)
          This method is called when this jConduit is given the opportunity to synchronize.
 
Methods inherited from class org.jSyncManager.API.Conduit.AbstractConduit
doInitialization, getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getPriority, initialize, jConduitDialogActionPerformed, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FotoReader

public FotoReader()
Method Detail

constructConfigPanel

protected javax.swing.JPanel constructConfigPanel()
Description copied from class: AbstractConduit
Constructs a configuration panel for this jConduit. If your jConduit requires user supplied configuration information, you may construct a JPanel here to be associated with your jConduit, which GUI applications can use to display to the user prior to synchronization. How this panel is accessed will be application specific. You may return null here to signify that no setting panel is required.

Specified by:
constructConfigPanel in class AbstractConduit
Returns:
a JPanel containing whatever configuration widgets your jConduit requires.

getResourceBundleName

protected java.lang.String getResourceBundleName()
Description copied from class: AbstractConduit
Retrieves the name of the class to use as the Conduits Resource Bundle. This method should return a String containing the fully-qualified classname of the class to use for this jConduits textual resources. You may return null from this method, however if you do so you're expected to override the getConduitName and getConduitDescription methods to return suitable data. We suggest using Resource Bundles to ensure that your jConduits can be translated to other languages.

Specified by:
getResourceBundleName in class AbstractConduit
Returns:
the fully-qualified classname of the class to use as this jConduits resource bundle.

startSync

public void startSync(ConduitHandler conduitHandler,
                      DLPUserInfo user)
               throws NotConnectedException
Description copied from class: AbstractConduit
This method is called when this jConduit is given the opportunity to synchronize. The contents of this method should use the provided ConduitHandler object to perform any necessary data IO between the host and the handheld. If necessary, you may use the passed DLPUserInfo object to distinguish between users.

Specified by:
startSync in class AbstractConduit
Parameters:
conduitHandler - the handle to the active ConduitHandler to use for synchronization.
user - the user information object for the handhelds owner.
Throws:
NotConnectedException - thrown if the connection to the Palm is lost during sync.

jSyncManager

Copyright (c) 1999 - 2004 Brad BARCLAY and others. All Rights Reserved.