com.miginfocom.calendar.activity.iofilter
Interface ActivityIOPlugin

All Known Implementing Classes:
AbstractActivityIOPlugin, ICalendarImport

public interface ActivityIOPlugin

Interface contract to implement for an importer/exporter of Activitys.


Method Summary
 long getDefaultPollInterval()
          Returns the filters suggested number of milliseconds that should pass between two update checks.
 java.lang.Object getID()
          Returns an ID of the plugin.
 java.lang.String getName()
          Returns a name if the IO plugin
 boolean isReadSupported()
          If the plugin can read activities
 boolean isWriteSupported()
          If the plugin can write activities
 

Method Detail

getName

java.lang.String getName()
Returns a name if the IO plugin

Returns:
E.g. "Nick's iCalendar import/export plugin"

getID

java.lang.Object getID()
Returns an ID of the plugin. For recognition by an ActivityResolver for instance.

Returns:
An ID of the plugin. Not null.

isReadSupported

boolean isReadSupported()
If the plugin can read activities

Returns:
If the plugin can read activities

isWriteSupported

boolean isWriteSupported()
If the plugin can write activities

Returns:
If the plugin can write activities

getDefaultPollInterval

long getDefaultPollInterval()
Returns the filters suggested number of milliseconds that should pass between two update checks.

Returns:
The filters suggested number of milliseconds that should pass between two update checks. -1 means no auto-poll.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.