|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jSyncManager.API.Conduit.AbstractConduit
org.jSyncManager.Conduit.Email.Email
The Email jConduit class. This jConduit simply dumps the contents of the standard Palm application databases to nicely formatted text files in the users home directory.
| Field Summary | |
static java.lang.String |
DBNAME
Database name. |
static java.lang.String |
DUMP_DIRNAME
Name of directory to place output into. |
static java.lang.String |
PROP_FILENAME
Properties file name. |
| 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 | |
Email()
Creates a new instance of Email. |
|
| Method Summary | |
void |
addEmail_connection(Email_Base email)
Setter for property email_connections. |
protected javax.swing.JPanel |
constructConfigPanel()
Create and return the Configuration Panel for this class. |
boolean |
exists(java.lang.String msgid)
Check whether the given message ID already exists in the hashmap. |
java.util.Properties |
getConfig()
Getter for property config. |
ConnectionsPanel |
getConfigPanel()
Getter for property configPanel. |
java.util.Vector |
getEmailConns()
Getter for property emailConns. |
ConduitHandler |
getHandler()
Getter for property handler. |
byte |
getInbox()
Getter for property inbox. |
java.util.HashMap |
getMap()
Getter for property map. |
byte |
getOutbox()
Getter for property outbox. |
protected java.lang.String |
getResourceBundleName()
Retrieve resource bundle file name. |
byte |
getSent()
Getter for property sent. |
java.util.Vector |
getVEmails()
Getter for property vEmails. |
void |
readMap()
Get Hashmap of email IDs from properties. |
void |
setConfig(java.util.Properties config)
Setter for property config. |
void |
setConfigPanel(ConnectionsPanel configPanel)
Setter for property configPanel. |
void |
setEmail_connections(java.util.Vector email_connections)
Setter for property email_connections. |
void |
setEmailConns(java.util.Vector emailConns)
Setter for property emailConns. |
void |
setHandler(ConduitHandler handler)
Setter for property handler. |
void |
setInbox(byte inbox)
Setter for property inbox. |
void |
setMap(java.util.HashMap map)
Setter for property map. |
void |
setOutbox(byte outbox)
Setter for property outbox. |
void |
setSent(byte sent)
Setter for property sent. |
void |
setVEmails(java.util.Vector vEmails)
Setter for property vEmails. |
void |
startSync(ConduitHandler conduitHandler,
DLPUserInfo user)
This method is called when this jConduit is given the opportunity to synchronize. |
void |
writeMap()
Write hashmap of email IDs to properties file. |
| 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 |
| Field Detail |
public static final java.lang.String PROP_FILENAME
public static final java.lang.String DBNAME
public static final java.lang.String DUMP_DIRNAME
| Constructor Detail |
public Email()
throws javax.mail.MessagingException,
javax.mail.NoSuchProviderException,
java.io.IOException
javax.mail.MessagingException - Messaging Exception.
javax.mail.NoSuchProviderException - Invalid or missing Provider.
java.io.IOException - I/O Exception in stream output.| Method Detail |
protected javax.swing.JPanel constructConfigPanel()
constructConfigPanel in class AbstractConduitprotected java.lang.String getResourceBundleName()
getResourceBundleName in class AbstractConduit
public void startSync(ConduitHandler conduitHandler,
DLPUserInfo user)
throws NotConnectedException
startSync in class AbstractConduituser - DLP User Info block.conduitHandler - he handle to the active ConduitHandler to use for synchronization.
NotConnectedException - thrown if the connection to the Palm is lost.public void setEmail_connections(java.util.Vector email_connections)
email_connections - New value of property email_connections.public void addEmail_connection(Email_Base email)
email - New value of property email_connections.public byte getInbox()
public void setInbox(byte inbox)
inbox - New value of property inbox.public byte getOutbox()
public void setOutbox(byte outbox)
outbox - New value of property outbox.public byte getSent()
public void setSent(byte sent)
sent - New value of property sent.public ConnectionsPanel getConfigPanel()
public void setConfigPanel(ConnectionsPanel configPanel)
configPanel - New value of property configPanel.public java.util.Vector getEmailConns()
public void setEmailConns(java.util.Vector emailConns)
emailConns - New value of property emailConns.public java.util.Properties getConfig()
public void setConfig(java.util.Properties config)
config - New value of property config.public java.util.Vector getVEmails()
public void setVEmails(java.util.Vector vEmails)
vEmails - New value of property vEmails.
public void readMap()
throws java.io.IOException
java.io.IOException - I/O Exception in stream handling.
public void writeMap()
throws java.io.IOException
java.io.IOException - I/O Exception in stream handling.public boolean exists(java.lang.String msgid)
msgid - message id to check against hashmap for existence.
public java.util.HashMap getMap()
public void setMap(java.util.HashMap map)
map - New value of property map.public ConduitHandler getHandler()
public void setHandler(ConduitHandler handler)
handler - New value of property handler.
|
jSyncManager | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||