superwaba.ext.ce.io.builtin.pimal
Class PocketPCPIMFactory

java.lang.Object
  |
  +--superwaba.ext.xplat.io.pimal.PIMFactory
        |
        +--superwaba.ext.ce.io.builtin.pimal.PocketPCPIMFactory

public class PocketPCPIMFactory
extends PIMFactory

Implements the pimal.PIMFactory interface for PocketPC devices


Constructor Summary
PocketPCPIMFactory()
           
 
Method Summary
 AddressBook createAddressBook()
           
 DateBook createDateBook()
           
 MemoBook createMemoBook()
          always throws a NotSupportedByDeviceException because Memos are not supported by PPC interface
 ToDoBook createToDoBook()
           
 
Methods inherited from class superwaba.ext.xplat.io.pimal.PIMFactory
getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PocketPCPIMFactory

public PocketPCPIMFactory()
Method Detail

createAddressBook

public AddressBook createAddressBook()
                              throws NotSupportedByDeviceException
Overrides:
createAddressBook in class PIMFactory
Tags copied from class: PIMFactory
Returns:
An interface to the device's address book
Throws:
NotSupportedByDeviceException - when device doesn't provide an address book

createDateBook

public DateBook createDateBook()
                        throws NotSupportedByDeviceException
Overrides:
createDateBook in class PIMFactory
Tags copied from class: PIMFactory
Returns:
An interface to the device's date book
Throws:
NotSupportedByDeviceException - when device doesn't provide a date book

createToDoBook

public ToDoBook createToDoBook()
                        throws NotSupportedByDeviceException
Overrides:
createToDoBook in class PIMFactory
Tags copied from class: PIMFactory
Returns:
An interface to the device's todo book
Throws:
NotSupportedByDeviceException - when device doesn't provide a todo book

createMemoBook

public MemoBook createMemoBook()
                        throws NotSupportedByDeviceException
always throws a NotSupportedByDeviceException because Memos are not supported by PPC interface
Overrides:
createMemoBook in class PIMFactory
Tags copied from class: PIMFactory
Returns:
An interface to the device's memo book
Throws:
NotSupportedByDeviceException - when device doesn't provide a memo book