org.brains2b.coffee.plugin
Interface MimePlugin

All Known Implementing Classes:
NewsSearch, NzbGuiPanel

public interface MimePlugin

Interface for defining MimePlugins

Version:
0.89.1 [26-02-2008]
Author:
dennis@brains2b.nl

Method Summary
 void close()
          close is called before the application is closed and with only the FileConnector available to handle events
 java.lang.String getShortTitle()
          get short title on which this plugin is known
 boolean isActionSupported(java.lang.String mime, int eventID)
          check if the plugin supports the particular eventID for this MimeType
 void open()
          open is called after instantiation and before using the plugin
 

Method Detail

isActionSupported

boolean isActionSupported(java.lang.String mime,
                          int eventID)
check if the plugin supports the particular eventID for this MimeType

Parameters:
mime - String, the name of the mime-type
eventID, - the CoffeeEvent id to support
Returns:
boolean, true if this plugin supports the action on the mime-type false otherwise

getShortTitle

java.lang.String getShortTitle()
get short title on which this plugin is known

Returns:

open

void open()
open is called after instantiation and before using the plugin

See Also:
MimeHandler

close

void close()
close is called before the application is closed and with only the FileConnector available to handle events

See Also:
MimeHandler