com.sybase.uep.bobclient.utils
Class PIMUtil

java.lang.Object
  extended by com.sybase.uep.bobclient.utils.PIMUtil

public class PIMUtil
extends java.lang.Object

Author:
congchen

Constructor Summary
PIMUtil()
           
 
Method Summary
static java.util.Hashtable createPIMContact(BaseMobileDataControl dataControl, java.lang.Object row)
          Creates new Contact instances by the selected row
static javax.microedition.pim.Contact createPIMContact(LogicalType logicalType, java.lang.String value)
          Creates a new Contact instance by given field value and logical type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PIMUtil

public PIMUtil()
Method Detail

createPIMContact

public static java.util.Hashtable createPIMContact(BaseMobileDataControl dataControl,
                                                   java.lang.Object row)
Creates new Contact instances by the selected row

Parameters:
dataControl -
row - - selected row
Returns:
Hashtable - key is created contact, value is logical type

createPIMContact

public static javax.microedition.pim.Contact createPIMContact(LogicalType logicalType,
                                                              java.lang.String value)
Creates a new Contact instance by given field value and logical type

Parameters:
logicalType -
value - - value of the field
Returns:
Contact