|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jSyncManager.API.Conduit.AbstractConduit | +--org.jSyncManager.Conduit.Email.Email
This jConduit simply dumps the contents of the standard Palm application databases to nicely formatted text files in the users home directory.
Field Summary | |
---|---|
protected ConduitHandler |
conduitHdlr
|
protected java.util.Properties |
config
|
protected ConnectionsPanel |
configPanel
|
static java.lang.String |
DBNAME
|
static java.lang.String |
DUMP_DIRNAME
|
protected java.util.Vector |
emailConns
|
protected byte |
inbox
|
protected java.util.HashMap |
map
|
protected byte |
outbox
|
static java.lang.String |
PROP_FILENAME
|
protected byte |
sent
|
protected java.util.Vector |
vEmails
|
Fields inherited from class org.jSyncManager.API.Conduit.AbstractConduit |
---|
configurationPanel, HIGH_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY, 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()
Constructs a configuration panel for this jConduit. |
boolean |
exists(java.lang.String msgid)
|
protected void |
fetch(ConduitHandler handler)
|
java.util.Properties |
getConfig()
Getter for property config. |
ConnectionsPanel |
getConfigPanel()
Getter for property configPanel. |
protected java.util.Vector |
getEmail_connections(ConduitHandler handler)
|
java.util.Vector |
getEmailConns()
Getter for property emailConns. |
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()
Retrieves the name of the class to use as the Conduits Resource Bundle. |
byte |
getSent()
Getter for property sent. |
java.util.Vector |
getVEmails()
Getter for property vEmails. |
void |
readMap()
|
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 |
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()
|
Methods inherited from class org.jSyncManager.API.Conduit.AbstractConduit |
---|
getConduitDescription, getConduitName, getConduitResourceBundle, getConfigurationPanel, getHandler, getPriority, setHandler, toString |
Methods inherited from class java.lang.Object |
---|
|
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
protected transient java.util.Properties config
protected transient java.util.HashMap map
protected transient ConduitHandler conduitHdlr
protected transient ConnectionsPanel configPanel
protected transient java.util.Vector emailConns
protected transient java.util.Vector vEmails
protected transient byte outbox
protected transient byte inbox
protected transient byte sent
Constructor Detail |
public Email() throws javax.mail.MessagingException, javax.mail.NoSuchProviderException, java.io.IOException
Method Detail |
protected javax.swing.JPanel constructConfigPanel()
AbstractConduit
constructConfigPanel
in class AbstractConduit
org.jSyncManager.API.Conduit.AbstractConduit
protected java.lang.String getResourceBundleName()
AbstractConduit
getResourceBundleName
in class AbstractConduit
org.jSyncManager.API.Conduit.AbstractConduit
public void startSync(ConduitHandler conduitHandler, DLPUserInfo user) throws NotConnectedException
startSync
in class AbstractConduit
conduitHandler
- he handle to the active ConduitHandler to use for synchronization.NotConnectedException
- thrown if the connection to the Palm is lost.protected void fetch(ConduitHandler handler) throws javax.mail.NoSuchProviderException, javax.mail.MessagingException, java.io.IOException
protected java.util.Vector getEmail_connections(ConduitHandler handler) throws javax.mail.MessagingException, javax.mail.NoSuchProviderException, java.io.IOException
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_connections
- 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
public void writeMap() throws java.io.IOException
public boolean exists(java.lang.String msgid)
public java.util.HashMap getMap()
public void setMap(java.util.HashMap map)
map
- New value of property map.
|
jSyncManager | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |