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.
addEmail_connection
public void addEmail_connection(Email_Base email)
Setter for property email_connections.
email - New value of property email_connections.
constructConfigPanel
protected JPanel constructConfigPanel()
Create and return the Configuration Panel for this class.
- constructConfigPanel in interface AbstractConduit
- Returns the Configuration Panel object.
exists
public boolean exists(String msgid)
Check whether the given message ID already exists in the hashmap.
msgid - message id to check against hashmap for existence.
- Returns 1 if message id is found, 0 if not.
getConfig
public java.util.Properties getConfig()
Getter for property config.
- Value of property config.
getConfigPanel
public ConnectionsPanel getConfigPanel()
Getter for property configPanel.
- Value of property configPanel.
getEmailConns
public java.util.Vector getEmailConns()
Getter for property emailConns.
- Value of property emailConns.
getHandler
public ConduitHandler getHandler()
Getter for property handler.
- Value of property handler.
getInbox
public byte getInbox()
Getter for property inbox.
getMap
public java.util.HashMap getMap()
Getter for property map.
getOutbox
public byte getOutbox()
Getter for property outbox.
- Value of property outbox.
getResourceBundleName
protected String getResourceBundleName()
Retrieve resource bundle file name.
- getResourceBundleName in interface AbstractConduit
- Returns the name of the resource bundle file.
getSent
public byte getSent()
Getter for property sent.
getVEmails
public java.util.Vector getVEmails()
Getter for property vEmails.
- Value of property vEmails.
readMap
public void readMap()
throws java.io.IOExceptionGet Hashmap of email IDs from properties.
setConfig
public void setConfig(java.util.Properties config)
Setter for property config.
config - New value of property config.
setConfigPanel
public void setConfigPanel(ConnectionsPanel configPanel)
Setter for property configPanel.
configPanel - New value of property configPanel.
setEmailConns
public void setEmailConns(java.util.Vector emailConns)
Setter for property emailConns.
emailConns - New value of property emailConns.
setEmail_connections
public void setEmail_connections(java.util.Vector email_connections)
Setter for property email_connections.
email_connections - New value of property email_connections.
setHandler
public void setHandler(ConduitHandler handler)
Setter for property handler.
handler - New value of property handler.
setInbox
public void setInbox(byte inbox)
Setter for property inbox.
inbox - New value of property inbox.
setMap
public void setMap(java.util.HashMap map)
Setter for property map.
map - New value of property map.
setOutbox
public void setOutbox(byte outbox)
Setter for property outbox.
outbox - New value of property outbox.
setSent
public void setSent(byte sent)
Setter for property sent.
sent - New value of property sent.
setVEmails
public void setVEmails(java.util.Vector vEmails)
Setter for property vEmails.
vEmails - New value of property vEmails.
writeMap
public void writeMap()
throws java.io.IOExceptionWrite hashmap of email IDs to properties file.