1 18 19 package sync4j.syncclient.blackberry.parser; 20 21 import javax.microedition.pim.Contact; 22 import javax.microedition.pim.ContactList; 23 import javax.microedition.pim.Event; 24 import javax.microedition.pim.EventList; 25 26 33 34 public class ParserFactory 35 { 36 45 public static final ContactParser getParserInstance(ContactList list, Contact contact, boolean shouldModify) { 46 return new XMLContactParser(list, contact, shouldModify); 47 } 48 49 58 public static final EventParser getParserInstance(EventList list, Event event, boolean shouldModify) { 59 return new XMLEventParser(list, event, shouldModify); 60 } 61 62 } 63 | Popular Tags |