|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.exchange.CzexUtils
This class contains protected utility methods for implementing the rest of the package.
| Constructor Summary | |
CzexUtils()
|
|
| Method Summary | |
static PropertyValue[] |
combinePropVals(PropertyValue[] userValues,
PropertyValue[] requiredValues)
Combine two arrays of PropertyValue objects
into one array in order to ensure that specific values are
set when creating messages. |
static java.lang.String |
escapeString(java.lang.String sString,
char escapeChar,
char charToEscape)
Escapes a string. |
static java.util.Date |
getDateFromDouble(double dRawDate,
java.util.TimeZone tz)
Gets a Java date from a COM double date. |
static java.util.Date |
getDateFromDouble(double dRawDate,
java.util.TimeZone tz,
boolean bDouble)
Gets a Java date from a COM double date. |
static double |
getDoubleFromDate(java.util.Date date,
java.util.TimeZone tz)
Gets a COM double date from a Java date. |
static double |
getDoubleFromDate(java.util.Date date,
java.util.TimeZone tz,
boolean bDouble)
Gets a COM double date from a Java date. |
static java.lang.String |
getHtmlFromRTF(java.lang.String sRtf)
Strips the HTML from an RTF string that contains it. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CzexUtils()
| Method Detail |
public static java.lang.String escapeString(java.lang.String sString,
char escapeChar,
char charToEscape)
sString - the string to escapeescapeChar - the escape character to usecharToEscape - the character that needs to be escaped
public static java.util.Date getDateFromDouble(double dRawDate,
java.util.TimeZone tz)
dRawDate - the COM double datetz - the time zone the COM double is in
public static java.util.Date getDateFromDouble(double dRawDate,
java.util.TimeZone tz,
boolean bDouble)
dRawDate - the COM double datetz - the time zone the COM double is inbDouble - if true, double the applied user offset
public static double getDoubleFromDate(java.util.Date date,
java.util.TimeZone tz)
date - the Java datetz - the time zone of the date
public static double getDoubleFromDate(java.util.Date date,
java.util.TimeZone tz,
boolean bDouble)
date - the Java datetz - the time zone of the datebDouble - if true, double the applied user offsetpublic static java.lang.String getHtmlFromRTF(java.lang.String sRtf)
sRtf - The RTF string.null.
public static PropertyValue[] combinePropVals(PropertyValue[] userValues,
PropertyValue[] requiredValues)
PropertyValue objects
into one array in order to ensure that specific values are
set when creating messages.userValues - the values specified by the user to createrequiredValues - the required values that must be createdpublic static void main(java.lang.String[] args)
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||