|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.blackberry.api.mail.AttachmentHandlerManager
public final class AttachmentHandlerManager
The manager class for attachment handling.
Register your AttachmentHandler instance with this class by invoking
AttachmentHandlerManager.addAttachmentHandler(net.rim.blackberry.api.mail.AttachmentHandler).
Note: Native attachment handlers on the handheld have priority access to all attachments. Third-party converters cannot override the native platform behaviour.
AttachmentHandler| Method Summary | ||
|---|---|---|
|
void |
addAttachmentHandler(AttachmentHandler ah)
Registers an attachment handler with this manager. |
|
static AttachmentHandlerManager |
getInstance()
Retrieves the singleton instance for this manager. |
|
void |
removeAttachmentHandler(AttachmentHandler ah)
Deregisters an attachment handler from the manager. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static AttachmentHandlerManager getInstance()
public void addAttachmentHandler(AttachmentHandler ah)
ah - Attachment handler to add.
NullPointerException - If the provided AttachmentHandler is null.public void removeAttachmentHandler(AttachmentHandler ah)
ah - Attachment handler to remove.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal