|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An application must implement the AttachmentHandler interface to perform custom attachment actions.
| Method Summary | ||
|
String |
menuString()
Defines the menu item to display for this attachment handler. |
|
void |
run(Message m,
SupportedAttachmentPart p)
Performs custom processing on an attachment. |
|
boolean |
supports(String contentType)
Determines whether this attachment handler accepts a specific content type. |
| Method Detail |
public boolean supports(String contentType)
contentType - A MIME content type.public String menuString()
public void run(Message m, SupportedAttachmentPart p)
Note: This method is invoked on the event thread of the Messages application.
m - The message that contains the attachment.p - The attachment for this attachment handler to process.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2002 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.