org.jSyncManager.Conduit.TextDump
Class TextDump
java.lang.Object
|
+--org.jSyncManager.API.Conduit.AbstractConduit
|
+--org.jSyncManager.Conduit.TextDump.TextDump
- All Implemented Interfaces:
- java.io.Serializable
- public class TextDump
- extends AbstractConduit
This jConduit simply dumps the contents of the standard Palm application
databases to nicely formatted text files in the users home directory.
- Version:
- $Revision: 1.14 $
- Author:
- Brad BARCLAY <bbarclay@jsyncmanager.org>, Last modified by: $Author: yaztromo $.
- See Also:
- Serialized Form
Constructor Summary |
TextDump()
Create a new AddressTextDump object. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
toHRF_CB
protected transient javax.swing.JCheckBox toHRF_CB
toCSV_CB
protected transient javax.swing.JCheckBox toCSV_CB
toXML_CB
protected transient javax.swing.JCheckBox toXML_CB
toHex_CB
protected transient javax.swing.JCheckBox toHex_CB
clean_CB
protected transient javax.swing.JCheckBox clean_CB
showDeleted_CB
protected transient javax.swing.JCheckBox showDeleted_CB
showArchived_CB
protected transient javax.swing.JCheckBox showArchived_CB
dirtyOnly_CB
protected transient javax.swing.JCheckBox dirtyOnly_CB
includeSecret_CB
protected transient javax.swing.JCheckBox includeSecret_CB
resetDirty_CB
protected transient javax.swing.JCheckBox resetDirty_CB
databaseList
protected transient javax.swing.JList databaseList
dumpTypePanel
protected transient javax.swing.JPanel dumpTypePanel
listPanel
protected transient javax.swing.JPanel listPanel
optionsPanel
protected transient javax.swing.JPanel optionsPanel
dumpPanelBorder
protected transient javax.swing.border.TitledBorder dumpPanelBorder
listPanelBorder
protected transient javax.swing.border.TitledBorder listPanelBorder
optionsPanelBorder
protected transient javax.swing.border.TitledBorder optionsPanelBorder
hrffos
protected transient java.io.FileWriter hrffos
hrfdos
protected transient java.io.PrintWriter hrfdos
csvfos
protected transient java.io.FileWriter csvfos
csvdos
protected transient java.io.BufferedWriter csvdos
xmlfos
protected transient java.io.FileWriter xmlfos
xmldos
protected transient java.io.OutputStreamWriter xmldos
hexfos
protected transient java.io.FileWriter hexfos
hexdos
protected transient java.io.PrintWriter hexdos
DUMP_DIRNAME
public static final java.lang.String DUMP_DIRNAME
databases
protected static java.lang.String[] databases
TextDump
public TextDump()
- Create a new AddressTextDump object.
startSync
public void startSync(ConduitHandler conduitHandler,
DLPUserInfo user)
throws NotConnectedException
- This method is called when this jConduit is given the opportunity to synchronize.
- Overrides:
startSync
in class AbstractConduit
- Parameters:
conduitHandler
- he handle to the active ConduitHandler to use for synchronization.- Throws:
NotConnectedException
- thrown if the connection to the Palm is lost.
getResourceBundleName
protected java.lang.String getResourceBundleName()
- 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.
- Overrides:
getResourceBundleName
in class AbstractConduit
- Returns:
- the fully-qualified classname of the class to use as this jConduits resource bundle.
constructConfigPanel
protected javax.swing.JPanel constructConfigPanel()
- 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.
- Overrides:
constructConfigPanel
in class AbstractConduit
- Returns:
- a JPanel containing whatever configuration widgets your jConduit requires.
writeRecord
protected void writeRecord(DLPRecord record,
DLPRecord rawRecord)
openStreams
protected void openStreams(java.lang.String rootName)
throws java.io.IOException
openStreams
protected void openStreams(java.io.OutputStreamWriter out)
throws java.io.FileNotFoundException
closeStreams
protected void closeStreams()
throws java.io.IOException
Copyright (c) 1999 - 2003 Brad BARCLAY and others. All Rights Reserved.