com.funambol.common.pim
Class PimUtils
java.lang.Object
com.funambol.common.pim.Utils
com.funambol.common.pim.PimUtils
public class PimUtils
- extends Utils
This class provides basic utilities to handle standard formats such as vCard
and vCal. The class extends Utils, providing utilities JSR75 related and
specific. This class shall only be compiled/used on platforms where JSR75 is
available.
Constructor Summary |
PimUtils(java.lang.String charset)
|
Method Summary |
void |
addCategories(java.lang.String field,
javax.microedition.pim.PIMList list,
javax.microedition.pim.PIMItem item,
boolean addNewCategory)
This function will add Category data to provided PIMItem. |
static void |
println(java.io.OutputStream os,
java.lang.String msg)
Print a new line to an output stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PimUtils
public PimUtils(java.lang.String charset)
addCategories
public void addCategories(java.lang.String field,
javax.microedition.pim.PIMList list,
javax.microedition.pim.PIMItem item,
boolean addNewCategory)
throws javax.microedition.pim.PIMException
- This function will add Category data to provided PIMItem.
- Parameters:
field
- The categories field extracted (comma or colon separated list)list
- This is the PIMList that the PIMItem belongs to.item
- The PIMItem that will have Category data added to it.addNewCategory
- add the category if it does not exist already
- Throws:
javax.microedition.pim.PIMException
println
public static void println(java.io.OutputStream os,
java.lang.String msg)
throws javax.microedition.pim.PIMException
- Print a new line to an output stream
- Parameters:
os
- the output streammsg
- the message to print
- Throws:
javax.microedition.pim.PIMException
Copyright © 2001-2009 Funambol.