|
JSR-043: JTAPI-1.4 | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
ContainerConstants | Constants common to all the Container interfaces. |
ContainerEvent | Defines methods for ContainerService events. |
ContainerProvider | Provider interface to get a ContainerService. |
ContainerService | Methods for manipulating Containers. |
DataObject | An open Media Data Object, as returned by ContainerService.openDataObject(). |
DataObjectEvent | Defines methods for DataObject events. |
Exception Summary | |
ContainerException | Thrown when a ContainerService method fails for various reasons. |
Defines the Media ContainerService and Media DataObject interfaces for the media package.
The ContainerProvider is an optional interface that may be implemented by a MediaProvider.
In many ways Containers and Data Objects are analogous to file systems and their files. The primary difference is that the Container interface is independent of the actual storage strategies employed. That is, it is independent of the storage medium, and of the data type, formatting and organization.
A ContainerProvider object is obtained by checking instanceof
and then casting the MediaProvider to a ContainerProvider.
For example:
MediaProvider mp = ...; ContainerService cs = null; if (mp instanceof ContainerProvider) cs = ((ContainerProvider)mp).getContainerService(); ...
Most of the interesting methods are defined in ContainerService and DataObject.
|
JSR-043: JTAPI-1.4 | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |