|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.mail.sdk.esmail.OracleUtility
An utility class that provides a number of mail utility functionality, such as portlet functionality and auth send
Constructor Summary | |
OracleUtility() |
Method Summary | |
static void |
auth_sendMessage(javax.mail.Store store, javax.mail.Message message) |
static void |
auth_sendMessage(javax.mail.Store store, javax.mail.Message message, javax.mail.Address[] addresses) |
static java.lang.String |
combineACL(java.lang.String oldACL, java.lang.String newACL, boolean combine) |
static java.lang.String |
convertACL(java.lang.String aACLString) Convert V1 style ACLs to V2 style. |
static java.sql.Timestamp |
convertFromGMT(java.sql.Timestamp dateIn) This utility method converts a timestamp from GMT to the local timezone. |
static java.sql.Timestamp |
convertToGMT(java.sql.Timestamp dateIn) This utility method converts a timestamp to GMT. |
static java.lang.String |
getBaseSubject(java.lang.String sbj) Returns the normalized version of a subject using the base subject rules described in IMAP sort and thread extensions. |
static int[] |
getInboxCounts(java.lang.String aUsername, DBConnectInfo aConnectInfo) |
static javax.mail.search.SearchTerm |
parse(java.lang.String command) Utility method to parse an IMAP search command string and return a SearchTerm object. |
static java.lang.String |
serialize(javax.mail.search.SearchTerm st) Convert a SearchTerm object into IMAP style search command |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OracleUtility()
Method Detail |
public static void auth_sendMessage(javax.mail.Store store, javax.mail.Message message) throws javax.mail.MessagingException
public static void auth_sendMessage(javax.mail.Store store, javax.mail.Message message, javax.mail.Address[] addresses) throws javax.mail.MessagingException
public static int[] getInboxCounts(java.lang.String aUsername, DBConnectInfo aConnectInfo) throws java.lang.Exception
public static javax.mail.search.SearchTerm parse(java.lang.String command) throws java.lang.Exception
command
- The IMAP search commandpublic static java.lang.String serialize(javax.mail.search.SearchTerm st) throws javax.mail.MessagingException, java.io.IOException
st
- The SearchTerm object to be serializedpublic static java.lang.String convertACL(java.lang.String aACLString)
In OCS v1, no grouping of acis was done. The only supported acis were i(write) and r(read). If you had r, you also got the privilige to list(l) and set seen flag(s). If you had i, you also got the privilige to set other flags(w), list(l) and delete/expunge(d). This method takes in a V1 style acl string and returns a V2 style ACL string.
aACLString
- V1-style ACL stringpublic static java.sql.Timestamp convertFromGMT(java.sql.Timestamp dateIn)
This utility method converts a timestamp from GMT to the local timezone.
Timestamp
- date to be converted from GMT to local TZpublic static java.sql.Timestamp convertToGMT(java.sql.Timestamp dateIn)
This utility method converts a timestamp to GMT.
Timestamp
- date to be converted to GMTpublic static java.lang.String getBaseSubject(java.lang.String sbj)
public static java.lang.String combineACL(java.lang.String oldACL, java.lang.String newACL, boolean combine)
|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |